/external/jetty/src/java/org/eclipse/jetty/servlets/ |
H A D | PutFilter.java | 123 HttpServletResponse response=(HttpServletResponse)res; 140 handleOptions(chain,request, response); 145 if (exists && !passConditionalHeaders(request, response, file)) 149 handlePut(request, response,pathInContext, file); 151 handleDelete(request, response, pathInContext, file); 153 handleMove(request, response, pathInContext, file); 161 response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); 167 response.sendError(HttpServletResponse.SC_NOT_FOUND); 169 chain.doFilter(request,response); 186 public void handlePut(HttpServletRequest request, HttpServletResponse response, Strin argument 271 handleDelete(HttpServletRequest request, HttpServletResponse response, String pathInContext, File file) argument 292 handleMove(HttpServletRequest request, HttpServletResponse response, String pathInContext, File file) argument 322 handleOptions(FilterChain chain, HttpServletRequest request, HttpServletResponse response) argument 349 passConditionalHeaders(HttpServletRequest request, HttpServletResponse response, File file) argument [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | DefaultRequestDirectorTest.java | 60 Robolectric.addPendingHttpResponse(200, "a happy response body"); 65 Robolectric.addPendingHttpResponse(new TestHttpResponse(200, "a happy response body")); 66 HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); 68 assertNotNull(response); 69 assertThat(response.getStatusLine().getStatusCode(), equalTo(200)); 70 assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")); 75 Robolectric.addPendingHttpResponse(new TestHttpResponse(200, "a happy response body")); 78 new TestHttpResponse(200, "a cheery response body")); 80 HttpResponse response [all...] |
/external/apache-http/src/org/apache/http/ |
H A D | ConnectionReuseStrategy.java | 70 * @param response 71 * The last response received over that connection. 78 boolean keepAlive(HttpResponse response, HttpContext context); argument
|
H A D | HttpResponseInterceptor.java | 39 * 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
|
/external/apache-http/src/org/apache/http/client/ |
H A D | ResponseHandler.java | 38 * 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
|
H A D | RedirectHandler.java | 42 * 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...] |
/external/jetty/src/java/org/eclipse/jetty/server/ |
H A D | RequestLog.java | 29 public void log(Request request, Response response); argument
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
H A D | WebSocketHandler.java | 41 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException argument 43 if (_webSocketFactory.acceptWebSocket(request,response) || response.isCommitted()) 48 super.handle(target,baseRequest,request,response);
|
/external/nist-sip/java/javax/sip/ |
H A D | ServerTransaction.java | 6 void sendResponse(Response response) argument
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | Callback.java | 30 * Called when the HTTP response was successfully returned by the remote 31 * server. The callback may proceed to read the response body with {@link 32 * Response#body}. The response is still live until its response body is 33 * closed with {@code response.body().close()}. The recipient of the callback 34 * may even consume the response body on another thread. 36 * <p>Note that transport-layer success (receiving a HTTP response code, 38 * success: {@code response} may still indicate an unhappy HTTP response 41 void onResponse(Response response) throw argument [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/ |
H A D | GetExample.java | 16 Response response = client.newCall(request).execute(); 17 return response.body().string(); 22 String response = example.run("https://raw.github.com/square/okhttp/master/README.md"); 23 System.out.println(response);
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
H A D | CertificatePinning.java | 44 Response response = client.newCall(request).execute(); 45 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 47 for (Certificate certificate : response.handshake().peerCertificates()) {
|
H A D | PostFile.java | 40 Response response = client.newCall(request).execute(); 41 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 43 System.out.println(response.body().string());
|
H A D | PostForm.java | 37 Response response = client.newCall(request).execute(); 38 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 40 System.out.println(response.body().string());
|
H A D | PostString.java | 45 Response response = client.newCall(request).execute(); 46 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); 48 System.out.println(response.body().string());
|
/external/selinux/libsepol/include/sepol/ |
H A D | roles.h | 9 const char *role, int *response);
|
/external/v8/test/mjsunit/ |
H A D | debug-evaluate-bool-constructor.js | 53 var response = JSON.parse(resp); 54 assertTrue(response.success, 'Command failed: ' + resp); 55 assertEquals('object', response.body.type); 56 assertEquals('Object', response.body.className);
|
/external/wpa_supplicant_8/hostapd/src/eap_common/ |
H A D | chap.h | 15 size_t challenge_len, u8 *response);
|
/external/wpa_supplicant_8/src/eap_common/ |
H A D | chap.h | 15 size_t challenge_len, u8 *response);
|
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/ |
H A D | chap.h | 15 size_t challenge_len, u8 *response);
|
/external/apache-http/src/org/apache/http/protocol/ |
H A D | ResponseConnControl.java | 47 * 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...] |
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
H A D | NoJspServlet.java | 36 protected void doGet(HttpServletRequest req, HttpServletResponse response) throws ServletException, IOException argument 42 response.sendError(500,"JSP support not configured");
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
H A D | RecordingOkAuthenticator.java | 44 @Override public Request authenticate(Proxy proxy, Response response) { argument 45 responses.add(response); 47 return response.request().newBuilder() 52 @Override public Request authenticateProxy(Proxy proxy, Response response) { argument 53 responses.add(response); 55 return response.request().newBuilder()
|
/external/ppp/pppd/ |
H A D | chap-md5.c | 59 unsigned char *challenge, unsigned char *response, 68 response_len = *response++; 77 /* Test if our hash matches the peer's response */ 78 if (memcmp(hash, response, MD5_HASH_SIZE) == 0) { 88 chap_md5_make_response(unsigned char *response, int id, char *our_name, argument 100 MD5_Final(&response[1], &ctx); 101 response[0] = MD5_HASH_SIZE; 57 chap_md5_verify_response(int id, char *name, unsigned char *secret, int secret_len, unsigned char *challenge, unsigned char *response, char *message, int message_space) argument
|
/external/selinux/libsemanage/src/ |
H A D | booleans_active.c | 24 semanage_bool_t ** response) 28 return dbase_query(handle, dconfig, key, response); 32 const semanage_bool_key_t * key, int *response) 36 return dbase_exists(handle, dconfig, key, response); 40 unsigned int *response) 44 return dbase_count(handle, dconfig, response); 22 semanage_bool_query_active(semanage_handle_t * handle, const semanage_bool_key_t * key, semanage_bool_t ** response) argument 31 semanage_bool_exists_active(semanage_handle_t * handle, const semanage_bool_key_t * key, int *response) argument 39 semanage_bool_count_active(semanage_handle_t * handle, unsigned int *response) argument
|