public class ESTResponse extends Object
Constructor and Description |
---|
ESTResponse(ESTRequest originalRequest,
Source source) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Long |
getContentLength() |
String |
getHeader(String key) |
org.bouncycastle.est.HttpUtil.Headers |
getHeaders() |
String |
getHttpVersion() |
InputStream |
getInputStream() |
ESTRequest |
getOriginalRequest() |
Source |
getSource() |
int |
getStatusCode() |
String |
getStatusMessage() |
protected String |
readStringIncluding(char until) |
protected InputStream |
wrapWithCounter(InputStream in,
Long absoluteReadLimit) |
public ESTResponse(ESTRequest originalRequest, Source source) throws IOException
IOException
protected InputStream wrapWithCounter(InputStream in, Long absoluteReadLimit)
protected String readStringIncluding(char until) throws IOException
IOException
public ESTRequest getOriginalRequest()
public org.bouncycastle.est.HttpUtil.Headers getHeaders()
public String getHttpVersion()
public int getStatusCode()
public String getStatusMessage()
public InputStream getInputStream()
public Source getSource()
public Long getContentLength()
public void close() throws IOException
IOException
Copyright © 2021 BouncyCastle.org. All rights reserved.