Constructor and Description |
---|
RequestInformation(java.lang.String method,
java.lang.String baseUrl,
java.lang.String relativePath,
long contentLength,
java.lang.String contentType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseUrl()
Returns the URL to which the originating request was sent.
|
long |
getContentLength()
Returns the number of bytes in the originating request.
|
java.lang.String |
getContentType()
Returns the content type header value of the originating request.
|
java.lang.String |
getMethod()
Returns the HTTP method of the originating request.
|
java.lang.String |
getRelativePath()
Returns the path relative to the base URL to which the originating request was sent.
|
public RequestInformation(java.lang.String method, java.lang.String baseUrl, java.lang.String relativePath, long contentLength, java.lang.String contentType)
public java.lang.String getMethod()
public java.lang.String getBaseUrl()
public java.lang.String getRelativePath()
public long getContentLength()
public java.lang.String getContentType()
Copyright © 2014 Square, Inc.. All Rights Reserved.