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.useHttpPostRequestBuilderwithHttpResponseWrapperinstead.- 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.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetContent()Deprecated.StringgetContentType()Deprecated.StringgetEncoding()Deprecated.intgetResponseCode()Deprecated.StringgetResponseMessage()Deprecated.booleanisRedirect()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.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 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.
-
-