/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
H A D | SocketTransportWrapper.java | 304 String response = new String(bytes, 0, off); 305 if (!response.equals(HANDSHAKE_STRING)) { 306 throw new IOException("Unexpected handshake response: " + response);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/ |
H A D | JDWPManualDebuggeeWrapper.java | 59 * Get response from user and check if it is as expected. 62 String response = reader.readLine(); 63 if (!expected.equals(response)) { 64 throw new TestErrorException("Unexpected user response: " 65 + response + " (expected: " + expected + ")");
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
H A D | ExcludedProxyTest.java | 103 String response = ""; 107 response += new String(b4, 0, count); 108 assertTrue("Response to POST method invalid", response 182 String response = ""; 186 response += new String(b, 0, count); 188 assertTrue("Response to POST method invalid", response
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
H A D | TimeStampRespTest.java | 97 TimeStampResp response = new TimeStampResp(status, timeStampToken); 99 byte[] encoding = TimeStampResp.ASN1.encode(response);
|
/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 | HttpClientConnection.java | 56 * 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 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
|
H A D | HttpServerConnection.java | 77 * 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 D | AuthenticationHandler.java | 54 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 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...] |
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
|
/external/apache-http/src/org/apache/http/client/methods/ |
H A D | HttpOptions.java | 50 * 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 D | ResponseProcessCookies.java | 54 * 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 D | ConnectionKeepAliveStrategy.java | 66 * @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 D | AbstractHttpClientConnection.java | 185 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 D | AbstractHttpServerConnection.java | 170 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 D | DefaultConnectionReuseStrategy.java | 83 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 D | NoConnectionReuseStrategy.java | 59 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/auth/ |
H A D | DigestScheme.java | 259 * Creates an MD5 response digest. 261 * @return The created digest as string. This will be the response tag's 379 * Creates digest-response header as defined in RFC2617. 382 * @param digest The response tag's value as String. 384 * @return The digest-response as String. 402 String response = digest; 412 params.add(new BasicNameValuePair("response", response));
|
H A D | NTLMScheme.java | 123 String response = null; 125 response = this.engine.generateType1Msg( 130 response = this.engine.generateType3Msg( 147 buffer.append(response);
|
/external/apache-http/src/org/apache/http/impl/client/ |
H A D | AbstractAuthenticationHandler.java | 116 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 D | AbstractHttpClient.java | 658 HttpResponse response = execute(target, request, context); 662 result = responseHandler.handleResponse(response); 664 HttpEntity entity = response.getEntity(); 690 // Handling the response was successful. Ensure that the content has 692 HttpEntity entity = response.getEntity();
|
H A D | BasicResponseHandler.java | 44 * 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 D | DefaultConnectionKeepAliveStrategy.java | 61 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 D | DefaultProxyAuthenticationHandler.java | 58 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
|