public interface Response
| Modifier and Type | Field and Description |
|---|---|
static int |
SC_MOVED_PERMANENTLY |
static int |
SC_MOVED_TEMPORARILY |
static int |
SC_SEE_OTHER |
static int |
SC_TEMPORARY_REDIRECT |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases the HTTP connection made to the remote server
|
String |
getContentType()
Retrieves the type of the content of response as a String
|
IHeader[] |
getHeaders()
Retrieves all the response headers as an array of Headers
|
String |
getRequestUrl() |
InputStream |
getResponseBodyAsStream()
Retrieves the body of the response as an inputstream.
|
int |
getStatusCode()
Retrieves the status code that is returned when a request is made
|
static final int SC_MOVED_TEMPORARILY
static final int SC_MOVED_PERMANENTLY
static final int SC_SEE_OTHER
static final int SC_TEMPORARY_REDIRECT
InputStream getResponseBodyAsStream()
String getContentType()
IHeader[] getHeaders()
int getStatusCode()
String getRequestUrl()
void close()
none - Copyright © 2016 Jasig. All Rights Reserved.