|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRequestInfo
This interface is used to retrieve key details about an HTTP request.
Extensions can obtain an
IRequestInfo
object for a given request by calling
IExtensionHelpers.analyzeRequest()
.
Field Summary | |
---|---|
static byte |
CONTENT_TYPE_AMF
Used to indicate AMF content. |
static byte |
CONTENT_TYPE_JSON
Used to indicate JSON content. |
static byte |
CONTENT_TYPE_MULTIPART
Used to indicate multi-part content. |
static byte |
CONTENT_TYPE_NONE
Used to indicate that there is no content. |
static byte |
CONTENT_TYPE_UNKNOWN
Used to indicate unknown content. |
static byte |
CONTENT_TYPE_URL_ENCODED
Used to indicate URL-encoded content. |
static byte |
CONTENT_TYPE_XML
Used to indicate XML content. |
Method Summary | |
---|---|
int |
getBodyOffset()
This method is used to obtain the offset within the request where the message body begins. |
byte |
getContentType()
This method is used to obtain the content type of the message body. |
java.util.List<java.lang.String> |
getHeaders()
This method is used to obtain the HTTP headers contained in the request. |
java.lang.String |
getMethod()
This method is used to obtain the HTTP method used in the request. |
java.util.List<IParameter> |
getParameters()
This method is used to obtain the parameters contained in the request. |
java.net.URL |
getUrl()
This method is used to obtain the URL in the request. |
Field Detail |
---|
static final byte CONTENT_TYPE_NONE
static final byte CONTENT_TYPE_URL_ENCODED
static final byte CONTENT_TYPE_MULTIPART
static final byte CONTENT_TYPE_XML
static final byte CONTENT_TYPE_JSON
static final byte CONTENT_TYPE_AMF
static final byte CONTENT_TYPE_UNKNOWN
Method Detail |
---|
java.lang.String getMethod()
java.net.URL getUrl()
java.util.List<java.lang.String> getHeaders()
java.util.List<IParameter> getParameters()
int getBodyOffset()
byte getContentType()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |