/libcore/luni/src/main/java/java/net/ |
HttpURLConnection.java | 44 * <li>Read the response. Response headers typically include metadata such as 45 * the response body's content type and length, modified dates and session 46 * cookies. The response body may be read from the stream returned by {@link 47 * #getInputStream()}. If the response has no body, that method returns an 49 * <li>Disconnect. Once the response body has been read, the {@code 80 * <h3>Response Handling</h3> 85 * <p>If the HTTP response indicates that an error occurred, {@link 87 * #getErrorStream()} to read the error response. The headers can be read in 130 * for multiple request/response pairs. As a result, HTTP connections may b 605 String response = getHeaderField(0); local [all...] |
ResponseCache.java | 26 * default response cache, if one has been set. 35 * Returns the system's default response cache, or null. 42 * Sets the system's default response cache. Use null to remove the response cache. 49 * Returns the cached response corresponding to the given request. 76 * the connection to fetch the response.
|
/cts/libs/testserver/src/android/webkit/cts/ |
CtsTestServer.java | 415 * @param timeMillis The time, in milliseconds, for which any future response will be valid. 441 * @return null to use the default response mechanism of sending the requested uri as it is. 442 * Otherwise, the whole response should be handled inside onPost. 449 * Generate a response to the given request. 455 HttpResponse response = null; local 498 response = createResponse(HttpStatus.SC_UNAUTHORIZED); 499 response.addHeader("WWW-Authenticate", "Basic realm=\"" + AUTH_REALM + "\""); 518 response = createResponse(HttpStatus.SC_OK); 519 response.setEntity(entity); 520 response.addHeader("Content-Disposition", "attachment; filename=test.bin") 675 HttpResponse response = new BasicHttpResponse(HttpVersion.HTTP_1_0, status, null); local 709 HttpResponse response = createResponse(HttpStatus.SC_OK); local 896 HttpResponse response = mServer.getResponse(mRequest); local [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/user/ |
Workgroup.java | 167 Presence response = (Presence)collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
local 171 if (response == null) {
174 else if (response.getError() != null) {
178 return Presence.Type.available == response.getType();
331 IQ response = (IQ)collector.nextResult(10000);
local 335 if (response == null) {
336 throw new XMPPException("No response from the server.");
338 if (response.getError() != null) {
339 throw new XMPPException(response.getError());
425 IQ response = (IQ)collector.nextResult(5000); local 677 ChatSettings response = (ChatSettings)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); local 724 OfflineSettings response = (OfflineSettings)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); local 752 SoundSettings response = (SoundSettings)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); local 780 WorkgroupProperties response = (WorkgroupProperties)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); local 810 WorkgroupProperties response = (WorkgroupProperties)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); local 840 WorkgroupForm response = (WorkgroupForm)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); local [all...] |
/external/smack/src/org/jivesoftware/smack/sasl/ |
SASLMechanism.java | 117 byte[] response = sc.evaluateChallenge(new byte[0]);
118 authenticationText = StringUtils.encodeBase64(response, false);
131 * response to the server's challenge.
134 * @throws IOException if an exception sending the response occurs.
137 byte response[];
139 response = sc.evaluateChallenge(StringUtils.decodeBase64(challenge));
141 response = sc.evaluateChallenge(new byte[0]);
145 if (response == null) {
146 responseStanza = new Response();
149 responseStanza = new Response(StringUtils.encodeBase64(response, false)); [all...] |
/external/apache-http/src/org/apache/http/client/ |
ResponseHandler.java | 38 * Handler that encapsulates the process of generating a response object 49 * corresponding to that response. 51 * @param response The response to process 52 * @return A value determined by the response 57 T handleResponse(HttpResponse response) throws ClientProtocolException, IOException;
|
/external/apache-http/src/org/apache/http/protocol/ |
ResponseServer.java | 42 * A response interceptor that adds a Server header. 57 public void process(final HttpResponse response, final HttpContext context) 59 if (response == null) { 62 if (!response.containsHeader(HTTP.SERVER_HEADER)) { 63 String s = (String) response.getParams().getParameter( 66 response.addHeader(HTTP.SERVER_HEADER, s);
|
/external/ppp/pppd/ |
chap-new.h | 52 * Semi-arbitrary limits on challenge and response fields. 97 * Note: challenge and response arguments below are formatted as 98 * a length byte followed by the actual challenge/response data. 103 unsigned char *challenge, unsigned char *response, 105 void (*make_response)(unsigned char *response, int id, char *our_name, 117 unsigned char *challenge, unsigned char *response,
|
/external/smack/src/org/jivesoftware/smack/proxy/ |
HTTPProxySocketFactory.java | 144 String response = br.readLine(); local 146 if (response == null) 149 "response from " + proxyhost + ", cancelling"); 152 Matcher m = RESPONSE_PATTERN.matcher(response); 156 "proxy response from " + proxyhost + ": " + response);
|
/external/smack/src/org/xbill/DNS/tests/ |
xfrin.java | 78 List response = xfrin.run(); local 81 System.out.println("AXFR-like IXFR response"); 83 System.out.println("AXFR response"); 84 Iterator it = response.iterator(); 88 System.out.println("IXFR response"); 89 Iterator it = response.iterator();
|
/external/tcpdump/ |
print-lane.c | 45 { 0x0101, "configure response" }, 47 { 0x0102, "join response" }, 51 { 0x0104, "register response" }, 53 { 0x0105, "unregister response" }, 55 { 0x0106, "ARP response" }, 57 { 0x0107, "flush response" },
|
/external/webkit/Source/WebCore/workers/ |
WorkerScriptLoader.cpp | 104 void WorkerScriptLoader::didReceiveResponse(const ResourceResponse& response) 106 if (response.httpStatusCode() / 100 != 2 && response.httpStatusCode()) { 110 m_responseURL = response.url(); 111 m_responseEncoding = response.textEncodingName(); 113 m_client->didReceiveResponse(response);
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/qt/ |
WebErrorsQt.cpp | 78 ResourceError cannotShowMIMETypeError(const ResourceResponse& response) 80 return ResourceError("WebKit", WebKitErrorCannotShowMIMEType, response.url().string(), 84 ResourceError fileDoesNotExistError(const ResourceResponse& response) 86 return ResourceError("QtNetwork", QNetworkReply::ContentNotFoundError, response.url().string(), 90 ResourceError pluginWillHandleLoadError(const ResourceResponse& response) 92 return ResourceError("WebKit", WebKitErrorPluginWillHandleLoad, response.url().string(),
|
/external/webkit/Tools/WebKitLauncher/ |
WebKitLauncherURLProtocol.m | 92 NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self request] URL] MIMEType:@"text/javascript" expectedContentLength:0 textEncodingName:@"utf-8"]; 93 [client URLProtocol:self didReceiveResponse:response cacheStoragePolicy:NSURLCacheStorageAllowed]; 94 [response release]; 105 NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self request] URL] MIMEType:@"text/plain" expectedContentLength:0 textEncodingName:@"utf-8"]; 106 [client URLProtocol:self didReceiveResponse:response cacheStoragePolicy:NSURLCacheStorageNotAllowed]; 107 [response release];
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
TestRequest.java | 21 import com.android.volley.Response; 32 public Base(String url, Response.ErrorListener listener) { 36 public Base(int method, String url, Response.ErrorListener listener) { 41 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { 46 protected void deliverResponse(byte[] response) {
|
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
ImageRequestTest.java | 26 import com.android.volley.Response; 65 Response<Bitmap> response = request.parseNetworkResponse(networkResponse); local 66 assertNotNull(response); 67 assertTrue(response.isSuccess()); 68 Bitmap bitmap = response.result;
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestAuthenticator.java | 62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, 82 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, 95 AccountAuthenticatorResponse response, Account account, Bundle options) { 101 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { 115 AccountAuthenticatorResponse response, Account account, String[] features) { 126 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account,
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_bld_tg.c | 34 ** Description This function builds the Get Capability response. 36 ** Returns AVRC_STS_NO_ERROR, if the response is built successfully 112 ** response. 114 ** Returns AVRC_STS_NO_ERROR, if the response is built successfully 163 ** response. 165 ** Returns AVRC_STS_NO_ERROR, if the response is built successfully 213 ** response. 215 ** Returns AVRC_STS_NO_ERROR, if the response is built successfully 271 ** response. 273 ** Returns AVRC_STS_NO_ERROR, if the response is built successfull [all...] |
/external/smack/src/org/jivesoftware/smackx/ |
ServiceDiscoveryManager.java | 44 * <li>Automatic response when this XMPP entity is queried for information. 219 DiscoverItems response = new DiscoverItems(); 220 response.setType(IQ.Type.RESULT); 221 response.setTo(discoverItems.getFrom()); 222 response.setPacketID(discoverItems.getPacketID()); 223 response.setNode(discoverItems.getNode()); 231 response.addItems(nodeInformationProvider.getNodeItems()); 233 response.addExtensions(nodeInformationProvider.getNodePacketExtensions()); 237 response.setType(IQ.Type.ERROR); 238 response.setError(new XMPPError(XMPPError.Condition.item_not_found)) [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
HttpEngine.java | 49 * Handles a single HTTP request/response pair. Each HTTP engine follows this 57 * <li>The HTTP response message is read with readResponse(). After the 58 * response has been read the response headers and body can be read. 59 * All responses have a response body input stream, though in some 63 * <p>The request and response may be served by the HTTP response cache, by the 68 * the response is consumed. To release the connection when it is no longer 148 * HTTP/1.1. Upon receiving a non-HTTP/1.1 response, this client 158 /** Null until a response is received from the network or the cache * [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_gatts_co.h | 50 ** response is returned in p_rsp 54 ** p_rsp - response data for the request 57 ** the response is returned in p_rsp.
|
/external/chromium/chrome/browser/sync/engine/ |
post_commit_message_command.cc | 24 ClientToServerResponse response; 31 &response, session)) { 47 status->mutable_commit_response()->CopyFrom(response);
|
/external/chromium/chrome/common/extensions/ |
update_manifest_unittest.cc | 12 "<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>" 21 "<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>" 31 "<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>" 40 "<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>" 49 "<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>" 57 "<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>" 66 "<g:gupdate xmlns:g='http://www.google.com/update2/response' protocol='2.0'>" 77 "<gupdate xmlns='http://www.google.com/update2/response'" 90 "<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>" 101 "<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'> [all...] |
/external/chromium/net/http/ |
http_response_info.cc | 24 // The version of the response info used when persisting response info. 27 // The minimum version supported for deserializing response info. 33 // This bit is set if the response info has a cert at the end. 36 // This bit is set if the response info has a security-bits field (security 40 // This bit is set if the response info has a cert status at the end. 43 // This bit is set if the response info has vary header data. 49 // This bit is set if the response was received via SPDY. 116 DLOG(ERROR) << "unexpected response info version: " << version; 127 // read response-tim [all...] |
/external/chromium/net/proxy/ |
proxy_script_fetcher.h | 34 // |*utf16_text| is filled with the response. On failure, the result text is 39 // ERR_FILE_TOO_BIG -- the response's body was too large. 41 // ERR_NOT_IMPLEMENTED -- the response required authentication.
|