Searched defs:response (Results 1 - 25 of 710) sorted by path

1234567891011>>

/external/apache-http/src/org/apache/http/
H A DConnectionReuseStrategy.java70 * @param response
71 * The last response received over that connection.
78 boolean keepAlive(HttpResponse response, HttpContext context); argument
H A DHttpClientConnection.java56 * Checks if response data is available from the connection. May wait for
87 * Receives the request line and headers of the next response available from
89 * find out if it should try to receive a response entity as well.
100 * Receives the next response entity available from this connection and
103 * @param response the response to attach the entity to
107 void receiveResponseEntity(HttpResponse response) argument
H A DHttpResponseInterceptor.java39 * Processes a response.
40 * Provides the ability to process a response before it is sent
59 * Processes a response.
60 * On the server side, this step is performed before the response is
64 * @param response the response to postprocess
70 void process(HttpResponse response, HttpContext context) argument
H A DHttpServerConnection.java77 * Sends the response line and headers of a response over this connection.
78 * @param response the response whose headers to send.
82 void sendResponseHeader(HttpResponse response) argument
86 * Sends the response entity of a response over this connection.
87 * @param response the response whose entity to send.
91 void sendResponseEntity(HttpResponse response) argument
[all...]
/external/apache-http/src/org/apache/http/client/
H A DAuthenticationHandler.java54 HttpResponse response,
58 HttpResponse response,
63 HttpResponse response,
53 isAuthenticationRequested( HttpResponse response, HttpContext context) argument
57 getChallenges( HttpResponse response, HttpContext context) argument
61 selectScheme( Map<String, Header> challenges, HttpResponse response, HttpContext context) argument
H A DRedirectHandler.java42 * a new location in response to an HTTP response received from the target
61 * given the response from the target server.
63 * @param response the response received from the target server
69 boolean isRedirectRequested(HttpResponse response, HttpContext context); argument
73 * given the response from the target server and the current request
76 * @param response the response received from the target server
81 URI getLocationURI(HttpResponse response, HttpContex argument
[all...]
H A DResponseHandler.java38 * Handler that encapsulates the process of generating a response object
54 * corresponding to that response.
56 * @param response The response to process
57 * @return A value determined by the response
62 T handleResponse(HttpResponse response) throws ClientProtocolException, IOException; argument
/external/apache-http/src/org/apache/http/client/methods/
H A DHttpOptions.java50 * communication options available on the request/response chain
93 public Set<String> getAllowedMethods(final HttpResponse response) { argument
94 if (response == null) {
95 throw new IllegalArgumentException("HTTP response may not be null");
98 HeaderIterator it = response.headerIterator("Allow");
/external/apache-http/src/org/apache/http/client/protocol/
H A DResponseProcessCookies.java54 * contained in response cookies received in the given the HTTP response.
75 public void process(final HttpResponse response, final HttpContext context) argument
77 if (response == null) {
105 HeaderIterator it = response.headerIterator(SM.SET_COOKIE);
112 it = response.headerIterator(SM.SET_COOKIE2);
/external/apache-http/src/org/apache/http/conn/
H A DConnectionKeepAliveStrategy.java66 * @param response
67 * The last response received over the connection.
74 long getKeepAliveDuration(HttpResponse response, HttpContext context); argument
/external/apache-http/src/org/apache/http/impl/
H A DAbstractHttpClientConnection.java185 HttpResponse response = (HttpResponse) this.responseParser.parse();
186 if (response.getStatusLine().getStatusCode() >= 200) {
189 return response;
192 public void receiveResponseEntity(final HttpResponse response) argument
194 if (response == null) {
195 throw new IllegalArgumentException("HTTP response may not be null");
198 HttpEntity entity = this.entitydeserializer.deserialize(this.inbuffer, response);
199 response.setEntity(entity);
H A DAbstractHttpServerConnection.java170 public void sendResponseHeader(final HttpResponse response) argument
172 if (response == null) {
173 throw new IllegalArgumentException("HTTP response may not be null");
176 this.responseWriter.write(response);
177 if (response.getStatusLine().getStatusCode() >= 200) {
182 public void sendResponseEntity(final HttpResponse response) argument
184 if (response.getEntity() == null) {
189 response,
190 response.getEntity());
H A DDefaultConnectionReuseStrategy.java83 public boolean keepAlive(final HttpResponse response, argument
85 if (response == null) {
87 ("HTTP response may not be null.");
103 HttpEntity entity = response.getEntity();
104 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
119 HeaderIterator hit = response.headerIterator(HTTP.CONN_DIRECTIVE);
121 hit = response.headerIterator("Proxy-Connection");
H A DNoConnectionReuseStrategy.java59 public boolean keepAlive(final HttpResponse response, final HttpContext context) { argument
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
/external/apache-http/src/org/apache/http/impl/client/
H A DAbstractAuthenticationHandler.java116 final HttpResponse response,
146 authScheme = registry.getAuthScheme(id, response.getParams());
114 selectScheme( final Map<String, Header> challenges, final HttpResponse response, final HttpContext context) argument
H A DBasicResponseHandler.java44 * A {@link ResponseHandler} that returns the response body as a String
45 * for successful (2xx) responses. If the response code was >= 300, the response
67 * Returns the response body as a String if the response was successful (a
68 * 2xx status code). If no response body exists, this returns null. If the
69 * response was unsuccessful (>= 300 status code), throws an
72 public String handleResponse(final HttpResponse response) argument
74 StatusLine statusLine = response.getStatusLine();
80 HttpEntity entity = response
[all...]
H A DDefaultConnectionKeepAliveStrategy.java61 public long getKeepAliveDuration(HttpResponse response, HttpContext context) { argument
62 if (response == null) {
63 throw new IllegalArgumentException("HTTP response may not be null");
66 response.headerIterator(HTTP.CONN_KEEP_ALIVE));
H A DDefaultProxyAuthenticationHandler.java58 final HttpResponse response,
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
63 int status = response.getStatusLine().getStatusCode();
68 final HttpResponse response,
70 if (response == null) {
71 throw new IllegalArgumentException("HTTP response may not be null");
73 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH);
57 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
67 getChallenges( final HttpResponse response, final HttpContext context) argument
H A DDefaultRedirectHandler.java81 final HttpResponse response,
83 if (response == null) {
84 throw new IllegalArgumentException("HTTP response may not be null");
86 int statusCode = response.getStatusLine().getStatusCode();
99 final HttpResponse response,
101 if (response == null) {
102 throw new IllegalArgumentException("HTTP response may not be null");
105 Header locationHeader = response.getFirstHeader("location");
107 // got a redirect response, but no location header
109 "Received redirect response "
80 isRedirectRequested( final HttpResponse response, final HttpContext context) argument
98 getLocationURI( final HttpResponse response, final HttpContext context) argument
[all...]
H A DDefaultRequestDirector.java307 HttpResponse response = null;
380 response = ex.getResponse();
433 response = requestExec.execute(wrapper, managedConn, context);
467 // Run response protocol interceptors
468 response.setParams(params);
469 requestExec.postProcess(response, httpProcessor, context);
473 reuse = reuseStrategy.keepAlive(response, context);
476 long duration = keepAliveStrategy.getKeepAliveDuration(response, context);
480 RoutedRequest followup = handleResponse(roureq, response, context);
486 // Make sure the response bod
909 handleResponse(RoutedRequest roureq, HttpResponse response, HttpContext context) argument
1052 processChallenges( final Map<String, Header> challenges, final AuthState authState, final AuthenticationHandler authHandler, final HttpResponse response, final HttpContext context) argument
[all...]
H A DDefaultTargetAuthenticationHandler.java58 final HttpResponse response,
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
63 int status = response.getStatusLine().getStatusCode();
68 final HttpResponse response,
70 if (response == null) {
71 throw new IllegalArgumentException("HTTP response may not be null");
73 Header[] headers = response.getHeaders(AUTH.WWW_AUTH);
57 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
67 getChallenges( final HttpResponse response, final HttpContext context) argument
H A DTunnelRefusedException.java47 private final HttpResponse response; field in class:TunnelRefusedException
49 public TunnelRefusedException(final String message, final HttpResponse response) { argument
51 this.response = response;
55 return this.response;
/external/apache-http/src/org/apache/http/impl/conn/
H A DAbstractClientConnAdapter.java243 public void receiveResponseEntity(HttpResponse response) argument
251 conn.receiveResponseEntity(response);
/external/apache-http/src/org/apache/http/protocol/
H A DBasicHttpProcessor.java247 * Elements that are response interceptors will be
248 * added to the response interceptor list.
249 * Elements that are both request and response interceptor will be
251 * Elements that are neither request nor response interceptor
254 * @param list the list of request and response interceptors
302 final HttpResponse response,
309 interceptor.process(response, context);
301 process( final HttpResponse response, final HttpContext context) argument
H A DHttpExpectationVerifier.java75 void verify(HttpRequest request, HttpResponse response, HttpContext context) argument

Completed in 1602 milliseconds

1234567891011>>