HttpRetrievalService for details@Deprecated public interface HttpResponse
| Modifier and Type | Method and Description | 
|---|---|
| void | finish()Deprecated.  | 
| String | getCharset()Deprecated.  Returns the charset of the response. | 
| String | getContentType()Deprecated.  Returns the type of the response content. | 
| String[] | getHeaders(String name)Deprecated.  Retrieves all HTTP response headers with the specified name and returns an array of their values. | 
| String | getMIMEType()Deprecated.  Returns the MIME type of the response. | 
| InputStream | getResponse()Deprecated.  | 
| URI | getResponseURI()Deprecated.  Returns the URI of the site that the response came from. | 
| int | getStatusCode()Deprecated.  | 
| String | getStatusMessage()Deprecated.  | 
| boolean | isCached()Deprecated.  | 
| boolean | isFailed()Deprecated.  | 
| boolean | isNotFound()Deprecated.  | 
| boolean | isNotPermitted()Deprecated.  | 
boolean isCached()
boolean isFailed()
boolean isNotFound()
boolean isNotPermitted()
InputStream getResponse() throws IOException
IOExceptionURI getResponseURI()
String getCharset()
String getMIMEType()
String getContentType()
getCharset(), 
getMIMEType()String[] getHeaders(String name)
name - the HTTP response header to retreive.  Must not be null, or an
             IllegalArgumentException will be thrown.null.IllegalArgumentException - if the name parameter is nullString getStatusMessage()
int getStatusCode()
void finish()
Copyright © 2003–2021 Atlassian. All rights reserved.