|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResponseInfo
This interface is used to retrieve key details about an HTTP response.
Extensions can obtain an
IResponseInfo
object for a given response by calling
IExtensionHelpers.analyzeResponse()
.
Method Summary | |
---|---|
int |
getBodyOffset()
This method is used to obtain the offset within the response where the message body begins. |
java.util.List<ICookie> |
getCookies()
This method is used to obtain details of the HTTP cookies set in the response. |
java.util.List<java.lang.String> |
getHeaders()
This method is used to obtain the HTTP headers contained in the response. |
java.lang.String |
getInferredMimeType()
This method is used to obtain the MIME type of the response, as inferred from the contents of the HTTP message body. |
java.lang.String |
getStatedMimeType()
This method is used to obtain the MIME type of the response, as stated in the HTTP headers. |
short |
getStatusCode()
This method is used to obtain the HTTP status code contained in the response. |
Method Detail |
---|
java.util.List<java.lang.String> getHeaders()
int getBodyOffset()
short getStatusCode()
java.util.List<ICookie> getCookies()
ICookie
objects representing the cookies
set in the response, if any.java.lang.String getStatedMimeType()
java.lang.String getInferredMimeType()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |