Searched refs:response (Results 26 - 50 of 1408) sorted by path

1234567891011>>

/external/apache-http/src/org/apache/http/impl/client/
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);
H A DDefaultClientConnection.java240 HttpResponse response = super.receiveResponseHeader();
242 headerLog.debug("<< " + response.getStatusLine().toString());
243 Header[] headers = response.getAllHeaders();
248 return 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
H A DHttpRequestExecutor.java49 * Takes care of request preprocessing and response postprocessing
73 * Decide whether a response comes with an entity.
75 * Unknown methods and response codes are supposed to
79 * methods and response codes not specified in RFC 2616.
82 * @param response the response, to obtain the status code
85 final HttpResponse response) {
90 int status = response.getStatusLine().getStatusCode();
98 * Synchronously send a request and obtain the response.
103 * @return the response t
84 canResponseHaveBody(final HttpRequest request, final HttpResponse response) argument
310 postProcess( final HttpResponse response, final HttpProcessor processor, final HttpContext context) argument
[all...]
H A DHttpRequestHandler.java55 void handle(HttpRequest request, HttpResponse response, HttpContext context) argument
H A DHttpService.java81 * @param responseFactory the response factory
136 HttpResponse response = null;
154 response = this.responseFactory.newHttpResponse(ver,
156 response.setParams(
157 new DefaultedHttpParams(response.getParams(), this.params));
161 this.expectationVerifier.verify(request, response, context);
163 response = this.responseFactory.newHttpResponse(HttpVersion.HTTP_1_0,
165 response.setParams(
166 new DefaultedHttpParams(response.getParams(), this.params));
167 handleException(ex, response);
222 handleException(final HttpException ex, final HttpResponse response) argument
238 doService( final HttpRequest request, final HttpResponse response, final HttpContext context) argument
[all...]
H A DResponseConnControl.java47 * A response interceptor that suggests connection keep-alive to the client.
67 public void process(final HttpResponse response, final HttpContext context) argument
69 if (response == null) {
70 throw new IllegalArgumentException("HTTP response may not be null");
76 int status = response.getStatusLine().getStatusCode();
84 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE);
89 HttpEntity entity = response.getEntity();
91 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
94 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE);
104 response
[all...]
H A DResponseContent.java46 * A response interceptor that sets up entity-related headers.
66 public void process(final HttpResponse response, final HttpContext context) argument
68 if (response == null) {
71 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) {
74 if (response.containsHeader(HTTP.CONTENT_LEN)) {
77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
78 HttpEntity entity = response.getEntity();
82 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
87 if (entity.getContentType() != null && !response
[all...]
H A DResponseDate.java42 * A response interceptor that adds a Date header.
64 public void process(final HttpResponse response, final HttpContext context) argument
66 if (response == null) {
68 ("HTTP response may not be null.");
70 int status = response.getStatusLine().getStatusCode();
72 !response.containsHeader(HTTP.DATE_HEADER)) {
74 response.setHeader(HTTP.DATE_HEADER, httpdate);
H A DResponseServer.java42 * A response interceptor that adds a Server header.
62 public void process(final HttpResponse response, final HttpContext context) argument
64 if (response == null) {
67 if (!response.containsHeader(HTTP.SERVER_HEADER)) {
68 String s = (String) response.getParams().getParameter(
71 response.addHeader(HTTP.SERVER_HEADER, s);
/external/bison/darwin-lib/
H A Dstdlib.h1076 /* Test a user response to a question.
1079 _GL_FUNCDECL_SYS (rpmatch, int, (const char *response) _GL_ARG_NONNULL ((1)));
1081 _GL_CXXALIAS_SYS (rpmatch, int, (const char *response));
/external/bison/lib/
H A Dstdlib.in.h754 /* Test a user response to a question.
757 _GL_FUNCDECL_SYS (rpmatch, int, (const char *response) _GL_ARG_NONNULL ((1)));
759 _GL_CXXALIAS_SYS (rpmatch, int, (const char *response));
/external/bison/linux-lib/
H A Dstdlib.h1076 /* Test a user response to a question.
1079 _GL_FUNCDECL_SYS (rpmatch, int, (const char *response) _GL_ARG_NONNULL ((1)));
1081 _GL_CXXALIAS_SYS (rpmatch, int, (const char *response));
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_act.c1077 if(p_data->auth_reply.response != BTA_DM_NOT_AUTH)
1079 if(p_data->auth_reply.response == BTA_DM_AUTH_PERM)
1102 ** Description Send the user confirm request reply in response to a
5353 ** or scan response data
H A Dbta_dm_api.c848 void BTA_DmAuthorizeReply(BD_ADDR bd_addr, tBTA_SERVICE_ID service, tBTA_AUTH_RESP response) argument
858 p_msg->response = response;
1553 ** Description This function is called to override the BTA scan response.
1581 ** Description This function is called to override the BTA scan response.
2080 ** adv data or scan response data.
2082 ** Parameter inst_id: Adv instance to configure the adv data or scan response.
2083 ** is_scan_rsp: is the data scan response or adv data.
H A Dbta_dm_int.h291 tBTA_AUTH_RESP response; member in struct:__anon483
/external/bluetooth/bluedroid/bta/include/
H A Dbta_api.h287 BOOLEAN report_dup; /* report duplicated inquiry response with higher RSSI value */
1768 tBTA_AUTH_RESP response);
2334 ** Description This function is called to override the BTA scan response.
2397 ** is_scan_rsp - Boolean value Scan response
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_gatt_server.c89 btgatt_response_t response; member in struct:__anon1073
500 btgatt_response_t *p_rsp = &p_cb->response;
662 int status, btgatt_response_t *response)
669 memcpy(&btif_cb.response, response, sizeof(btgatt_response_t));
661 btif_gatts_send_response(int conn_id, int trans_id, int status, btgatt_response_t *response) argument
/external/ceres-solver/examples/
H A Dnist.cc234 Matrix response() const { return response_; } function in class:ceres::examples::NISTProblem
414 Matrix response = nist_problem.response(); local
430 response.data() + nist_problem.response_size() * i)),
/external/chromium-libpac/test/
H A Dproxy_resolver_v8_unittest.cc119 std::vector<std::string> string16ToProxyList(String16 response) { argument
121 String8 response8(response);

Completed in 1137 milliseconds

1234567891011>>