Searched refs:response (Results 1 - 25 of 344) sorted by relevance

1234567891011>>

/external/apache-http/src/org/apache/http/impl/client/
H A DTunnelRefusedException.java41 private final HttpResponse response; field in class:TunnelRefusedException
43 public TunnelRefusedException(final String message, final HttpResponse response) { argument
45 this.response = response;
49 return this.response;
H A DDefaultProxyAuthenticationHandler.java53 final HttpResponse response,
55 if (response == null) {
56 throw new IllegalArgumentException("HTTP response may not be null");
58 int status = response.getStatusLine().getStatusCode();
63 final HttpResponse response,
65 if (response == null) {
66 throw new IllegalArgumentException("HTTP response may not be null");
68 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH);
52 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
62 getChallenges( final HttpResponse response, final HttpContext context) argument
H A DDefaultTargetAuthenticationHandler.java53 final HttpResponse response,
55 if (response == null) {
56 throw new IllegalArgumentException("HTTP response may not be null");
58 int status = response.getStatusLine().getStatusCode();
63 final HttpResponse response,
65 if (response == null) {
66 throw new IllegalArgumentException("HTTP response may not be null");
68 Header[] headers = response.getHeaders(AUTH.WWW_AUTH);
52 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
62 getChallenges( final HttpResponse response, final HttpContext context) argument
/external/webkit/WebKit/gtk/tests/
H A Dtestnetworkresponse.c33 WebKitNetworkResponse* response; local
37 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "uri", "http://debian.org/", NULL));
38 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
39 message = webkit_network_response_get_message(response);
41 g_object_unref(response);
45 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, NULL));
46 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
48 g_object_unref(response);
54 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, "uri", "http://gnome.org/", NULL));
55 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
65 WebKitNetworkResponse* response; local
[all...]
/external/webkit/WebCore/loader/mac/
H A DResourceLoaderMac.mm38 NSCachedURLResponse* ResourceLoader::willCacheResponse(ResourceHandle*, NSCachedURLResponse* response)
42 return frameLoader()->client()->willCacheResponse(documentLoader(), identifier(), response);
/external/v8/test/mjsunit/
H A Ddebug-references.js57 var response = safeEval(dcp.processDebugJSONRequest(request));
59 assertTrue(response.success, request + ' -> ' + response.message);
60 assertTrue(response.body instanceof Array);
62 assertEquals(count, response.body.length);
64 assertTrue(response.body.length > 0);
67 assertFalse(response.success, request + ' -> ' + response.message);
69 assertEquals(response.running, dcp.isRunning(), request + ' -> expected not running');
88 var response
[all...]
H A Ddebug-scripts-request.js51 var response = safeEval(json_response);
53 assertTrue(response.success, json_response);
55 assertFalse(response.success, json_response);
78 var response = safeEval(dcp.processDebugJSONRequest(request));
79 assertTrue(response.success);
82 assertEquals(2, response.body.length);
83 var script = response.body[0];
86 var response = safeEval(dcp.processDebugJSONRequest(request));
87 assertTrue(response.success);
88 assertEquals(1, response
[all...]
H A Ddebug-backtrace.js62 ParsedResponse.prototype.response = function() {
91 var response;
104 response = new ParsedResponse(resp);
105 backtrace = response.body();
115 assertEquals("f", response.lookup(frames[0].func.ref).name);
117 assertEquals("", response.lookup(frames[1].func.ref).name);
118 assertEquals("m", response.lookup(frames[1].func.ref).inferredName);
120 assertEquals("g", response.lookup(frames[2].func.ref).name);
122 assertEquals("", response.lookup(frames[3].func.ref).name);
123 assertFalse(response
[all...]
/external/apache-http/src/org/apache/http/protocol/
H A DResponseServer.java42 * A response interceptor that adds a Server header.
57 public void process(final HttpResponse response, final HttpContext context) argument
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);
H A DResponseContent.java46 * A response interceptor that sets up entity-related headers.
61 public void process(final HttpResponse response, final HttpContext context) argument
63 if (response == null) {
66 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) {
69 if (response.containsHeader(HTTP.CONTENT_LEN)) {
72 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
73 HttpEntity entity = response.getEntity();
77 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
82 if (entity.getContentType() != null && !response
[all...]
H A DHttpRequestExecutor.java49 * Takes care of request preprocessing and response postprocessing
68 * Decide whether a response comes with an entity.
70 * Unknown methods and response codes are supposed to
74 * methods and response codes not specified in RFC 2616.
77 * @param response the response, to obtain the status code
80 final HttpResponse response) {
85 int status = response.getStatusLine().getStatusCode();
93 * Synchronously send a request and obtain the response.
98 * @return the response t
79 canResponseHaveBody(final HttpRequest request, final HttpResponse response) argument
305 postProcess( final HttpResponse response, final HttpProcessor processor, final HttpContext context) argument
[all...]
H A DHttpService.java76 * @param responseFactory the response factory
131 HttpResponse response = null;
149 response = this.responseFactory.newHttpResponse(ver,
151 response.setParams(
152 new DefaultedHttpParams(response.getParams(), this.params));
156 this.expectationVerifier.verify(request, response, context);
158 response = this.responseFactory.newHttpResponse(HttpVersion.HTTP_1_0,
160 response.setParams(
161 new DefaultedHttpParams(response.getParams(), this.params));
162 handleException(ex, response);
217 handleException(final HttpException ex, final HttpResponse response) argument
233 doService( final HttpRequest request, final HttpResponse response, final HttpContext context) argument
[all...]
/external/webkit/WebKitTools/Scripts/webkitpy/
H A Duser.py37 response = None
38 while (repeat and not response):
40 response = raw_input(message)
41 return response
59 response = raw_input("%s [Y/n]: " % message)
60 return not response or response.lower() == "y"
/external/webkit/WebCore/loader/archive/cf/
H A DLegacyWebArchiveMac.mm44 NSURLResponse *response = nil;
49 response = responseObject;
52 response = nil;
56 return ResourceResponse(response);
59 RetainPtr<CFDataRef> LegacyWebArchive::createPropertyListRepresentation(const ResourceResponse& response)
61 NSURLResponse *nsResponse = response.nsURLResponse();
/external/apache-http/src/org/apache/http/
H A DConnectionReuseStrategy.java65 * @param response
66 * The last response received over that connection.
73 boolean keepAlive(HttpResponse response, HttpContext context); argument
H A DHttpServerConnection.java72 * Sends the response line and headers of a response over this connection.
73 * @param response the response whose headers to send.
77 void sendResponseHeader(HttpResponse response) argument
81 * Sends the response entity of a response over this connection.
82 * @param response the response whose entity to send.
86 void sendResponseEntity(HttpResponse response) argument
[all...]
/external/webkit/WebKit/mac/WebView/
H A DWebNavigationData.mm34 NSURLResponse *response;
48 [response release];
58 - (id)initWithURLString:(NSString *)url title:(NSString *)title originalRequest:(NSURLRequest *)request response:(NSURLResponse *)response hasSubstituteData:(BOOL)hasSubstituteData clientRedirectSource:(NSString *)redirectSource;
65 _private->response = [response retain];
87 - (NSURLResponse *)response
89 return _private->response;
H A DWebResourcePrivate.h38 response:(NSURLResponse *)response
41 - (id)_initWithData:(NSData *)data URL:(NSURL *)URL response:(NSURLResponse *)response;
/external/chromium/net/ftp/
H A Dftp_ctrl_response_buffer_unittest.cc29 net::FtpCtrlResponse response = buffer_.PopResponse(); local
31 EXPECT_EQ(200, response.status_code);
32 ASSERT_EQ(1U, response.lines.size());
33 EXPECT_EQ("Status Text", response.lines[0]);
48 net::FtpCtrlResponse response = buffer_.PopResponse(); local
50 EXPECT_EQ(200, response.status_code);
51 ASSERT_EQ(1U, response.lines.size());
52 EXPECT_EQ("Status Text", response.lines[0]);
65 net::FtpCtrlResponse response = buffer_.PopResponse(); local
67 EXPECT_EQ(230, response
90 net::FtpCtrlResponse response = buffer_.PopResponse(); local
110 net::FtpCtrlResponse response = buffer_.PopResponse(); local
130 net::FtpCtrlResponse response = buffer_.PopResponse(); local
152 net::FtpCtrlResponse response = buffer_.PopResponse(); local
[all...]
/external/webkit/WebKit/gtk/webkit/
H A Dwebkitnetworkresponse.cpp33 * @short_description: the response given to a network request
37 * response.
60 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); local
61 WebKitNetworkResponsePrivate* priv = response->priv;
73 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); local
74 WebKitNetworkResponsePrivate* priv = response->priv;
83 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); local
87 g_value_set_string(value, webkit_network_response_get_uri(response));
90 g_value_set_object(value, webkit_network_response_get_message(response));
99 WebKitNetworkResponse* response local
156 webkit_network_response_init(WebKitNetworkResponse* response) argument
200 webkit_network_response_set_uri(WebKitNetworkResponse* response, const gchar* uri) argument
229 webkit_network_response_get_uri(WebKitNetworkResponse* response) argument
254 webkit_network_response_get_message(WebKitNetworkResponse* response) argument
[all...]
/external/apache-http/src/org/apache/http/impl/
H A DNoConnectionReuseStrategy.java54 public boolean keepAlive(final HttpResponse response, final HttpContext context) { argument
55 if (response == null) {
56 throw new IllegalArgumentException("HTTP response may not be null");
/external/webkit/WebCore/loader/cf/
H A DResourceLoaderCFNet.cpp39 CFURLResponseRef response = CFCachedURLResponseGetWrappedResponse(cachedResponse);
41 return frameLoader()->client()->shouldCacheResponse(documentLoader(), identifier(), response, CFDataGetBytePtr(data), CFDataGetLength(data));
/external/webkit/WebCore/platform/network/qt/
H A DAuthenticationChallenge.h38 AuthenticationChallenge(const ProtectionSpace& protectionSpace, const Credential& proposedCredential, unsigned previousFailureCount, const ResourceResponse& response, const ResourceError& error) argument
39 : AuthenticationChallengeBase(protectionSpace, proposedCredential, previousFailureCount, response, error)
/external/webkit/WebCore/platform/network/soup/
H A DAuthenticationChallenge.h38 AuthenticationChallenge(const ProtectionSpace& protectionSpace, const Credential& proposedCredential, unsigned previousFailureCount, const ResourceResponse& response, const ResourceError& error) argument
39 : AuthenticationChallengeBase(protectionSpace, proposedCredential, previousFailureCount, response, error)
/external/webkit/WebKitTools/QueueStatusServer/handlers/
H A Dshowresults.py40 self.response.headers["Content-Type"] = "text/plain; charset=utf-8"
41 self.response.out.write(status.results_file)

Completed in 231 milliseconds

1234567891011>>