Package de.xima.fc.http.result
Class PostRequestResult
java.lang.Object
de.xima.fc.http.result.PostRequestResult
- Direct Known Subclasses:
PostRequestResult
Deprecated.
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionPostRequestResult(boolean isRedirect, String content, String contentType) Deprecated.PostRequestResult(boolean isRedirect, String content, String contentType, String encoding) Deprecated.useHttpResponseWrapperin connection withHttpPostRequestBuilderinsteadPostRequestResult(boolean isRedirect, String content, String contentType, String encoding, int responseCode, String responseMessage) Deprecated.useHttpResponseWrapperin connection withHttpPostRequestBuilderinsteadPostRequestResult(boolean isRedirect, String content, String encoding, HttpURLConnection httpConn) Deprecated.useHttpResponseWrapperin connection withHttpPostRequestBuilderinsteadPostRequestResult(boolean isRedirect, String content, HttpURLConnection httpConn) Deprecated.useHttpResponseWrapperin connection withHttpPostRequestBuilderinstead -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.intDeprecated.Deprecated.booleanDeprecated.
-
Constructor Details
-
PostRequestResult
Deprecated. -
PostRequestResult
@Deprecated public PostRequestResult(boolean isRedirect, String content, String contentType, String encoding) Deprecated.useHttpResponseWrapperin connection withHttpPostRequestBuilderinstead- 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.useHttpResponseWrapperin connection withHttpPostRequestBuilderinstead- 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.useHttpResponseWrapperin connection withHttpPostRequestBuilderinstead- 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.useHttpResponseWrapperin connection withHttpPostRequestBuilderinstead- 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 Details
-
getContent
Deprecated. -
isRedirect
public boolean isRedirect()Deprecated. -
getEncoding
Deprecated. -
getContentType
Deprecated. -
getResponseCode
public int getResponseCode()Deprecated. -
getResponseMessage
Deprecated.
-
HttpPostRequestBuilderwithHttpResponseWrapperinstead.