Package de.xima.fc.http.result
Class PostRequestResult
- java.lang.Object
-
- de.xima.fc.http.result.PostRequestResult
-
- Direct Known Subclasses:
PostRequestResult
@Deprecated public class PostRequestResult extends Object
Deprecated.useHttpPostRequestBuilder
withHttpResponseWrapper
instead.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description PostRequestResult(boolean isRedirect, String content, String contentType)
Deprecated.PostRequestResult(boolean isRedirect, String content, String contentType, String encoding)
Deprecated.useHttpResponseWrapper
in connection withHttpPostRequestBuilder
insteadPostRequestResult(boolean isRedirect, String content, String contentType, String encoding, int responseCode, String responseMessage)
Deprecated.useHttpResponseWrapper
in connection withHttpPostRequestBuilder
insteadPostRequestResult(boolean isRedirect, String content, String encoding, HttpURLConnection httpConn)
Deprecated.useHttpResponseWrapper
in connection withHttpPostRequestBuilder
insteadPostRequestResult(boolean isRedirect, String content, HttpURLConnection httpConn)
Deprecated.useHttpResponseWrapper
in connection withHttpPostRequestBuilder
instead
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getContent()
Deprecated.String
getContentType()
Deprecated.String
getEncoding()
Deprecated.int
getResponseCode()
Deprecated.String
getResponseMessage()
Deprecated.boolean
isRedirect()
Deprecated.
-
-
-
Constructor Detail
-
PostRequestResult
public PostRequestResult(boolean isRedirect, String content, String contentType)
Deprecated.
-
PostRequestResult
@Deprecated public PostRequestResult(boolean isRedirect, String content, String contentType, String encoding)
Deprecated.useHttpResponseWrapper
in connection withHttpPostRequestBuilder
instead- Parameters:
isRedirect
- Whether the HTTP response contained a redirect.content
- The body content of the HTTP response.contentType
- Content type of the response body.encoding
- The encoding of the HTTP response (when the content type is text)
-
PostRequestResult
@Deprecated public PostRequestResult(boolean isRedirect, String content, String contentType, String encoding, int responseCode, String responseMessage)
Deprecated.useHttpResponseWrapper
in connection withHttpPostRequestBuilder
instead- Parameters:
isRedirect
- Whether the HTTP response contained a redirect.content
- The body content of the HTTP response.contentType
- Content type of the response body.encoding
- The encoding of the HTTP response (when the content type is text)responseCode
- Status code of the HTTP response.responseMessage
- Status line of the HTTP response.
-
PostRequestResult
@Deprecated public PostRequestResult(boolean isRedirect, String content, HttpURLConnection httpConn) throws IOException
Deprecated.useHttpResponseWrapper
in connection withHttpPostRequestBuilder
instead- Parameters:
isRedirect
- Whether the HTTP response contained a redirect.content
- The body content of the HTTP response.httpConn
- The connection that was used to send the request.- Throws:
IOException
-
PostRequestResult
@Deprecated public PostRequestResult(boolean isRedirect, String content, String encoding, HttpURLConnection httpConn) throws IOException
Deprecated.useHttpResponseWrapper
in connection withHttpPostRequestBuilder
instead- Parameters:
isRedirect
- Whether the HTTP response contained a redirect.content
- The body content of the HTTP response.encoding
- The encoding of the HTTP response (when the content type is text)httpConn
- The connection that was used to send the request.- Throws:
IOException
- When the URL could not be read.
-
-
Method Detail
-
getContent
public String getContent()
Deprecated.
-
isRedirect
public boolean isRedirect()
Deprecated.
-
getEncoding
public String getEncoding()
Deprecated.
-
getContentType
public String getContentType()
Deprecated.
-
getResponseCode
public int getResponseCode()
Deprecated.
-
getResponseMessage
public String getResponseMessage()
Deprecated.
-
-