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

1234567891011>>

/external/webkit/Source/WebKit2/Shared/
H A DWebURLResponse.cpp31 WebURLResponse::WebURLResponse(const WebCore::ResourceResponse& response) argument
32 : m_response(response)
/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/Source/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/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/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/
H A DMacro.java33 private String response; field in class:Macro
53 return response;
56 public void setResponse(String response) { argument
57 this.response = response;
/external/chromium/chrome/browser/metrics/
H A Dmetrics_response_unittest.cc18 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>"
19 "</config></response>";
22 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>"
30 "</config></response>";
33 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>"
40 "</config></response>";
81 MetricsResponse response(rcase.response_xml);
82 EXPECT_TRUE(response.valid());
83 EXPECT_EQ(rcase.collectors, response.collectors()) <<
85 EXPECT_EQ(rcase.events, response
[all...]
/external/webkit/Source/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
190 webkit_network_response_set_uri(WebKitNetworkResponse* response, const gchar* uri) argument
219 webkit_network_response_get_uri(WebKitNetworkResponse* response) argument
244 webkit_network_response_get_message(WebKitNetworkResponse* response) argument
255 core(WebKitNetworkResponse* response) argument
[all...]
/external/webkit/Source/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/chromium/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/
H A Dcontentscript.js11 chrome.extension.sendRequest({}, function(response) {});
/external/libsepol/include/sepol/
H A Droles.h5 const char *role, int *response);
/external/webkit/Source/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;
/external/webkit/Source/WebCore/loader/archive/
H A DArchiveResource.cpp36 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) argument
37 : SubstituteResource(url, response, data)
45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) argument
49 if (response.isNull()) {
54 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, response));
57 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const ResourceResponse& response) argument
59 return create(data, url, response.mimeType(), response.textEncodingName(), String(), 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/chromium/chrome/browser/sync/engine/net/
H A Dsyncapi_server_connection_manager.cc27 HttpResponse* response) {
52 response->server_status = HttpResponse::IO_ERROR;
57 // We got a server response, copy over response codes and content.
58 response->response_code = response_code;
59 response->content_length =
61 response->payload_length =
63 if (response->response_code < 400)
64 response->server_status = HttpResponse::SERVER_CONNECTION_OK;
65 else if (response
24 Init(const char* path, const std::string& auth_token, const std::string& payload, HttpResponse* 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");

Completed in 1313 milliseconds

1234567891011>>