Searched defs:response (Results 1 - 25 of 710) sorted by relevance

1234567891011>>

/external/chromium_org/net/server/
H A Dhttp_server_response_info_unittest.cc12 HttpServerResponseInfo response; local
13 ASSERT_EQ(HTTP_OK, response.status_code());
14 ASSERT_EQ("HTTP/1.1 200 OK\r\n\r\n", response.Serialize());
18 HttpServerResponseInfo response; local
19 response.AddHeader("A", "1");
20 response.AddHeader("A", "2");
21 ASSERT_EQ("HTTP/1.1 200 OK\r\nA:1\r\nA:2\r\n\r\n", response.Serialize());
25 HttpServerResponseInfo response; local
26 ASSERT_EQ(std::string(), response.body());
27 response
35 HttpServerResponseInfo response = HttpServerResponseInfo::CreateFor404(); local
43 HttpServerResponseInfo response = local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DContentSecurityPolicyResponseHeaders.cpp33 ContentSecurityPolicyResponseHeaders::ContentSecurityPolicyResponseHeaders(const ResourceResponse& response) argument
34 : m_contentSecurityPolicy(response.httpHeaderField("Content-Security-Policy"))
35 , m_contentSecurityPolicyReportOnly(response.httpHeaderField("Content-Security-Policy-Report-Only"))
/external/chromium_org/extensions/browser/api/runtime/
H A Druntime_api_delegate.cc11 const std::string& response,
13 : success(success), response(response), version(version) {
9 UpdateCheckResult( bool success, const std::string& response, const std::string& version) argument
/external/chromium_org/net/test/embedded_test_server/
H A Dhttp_response_unittest.cc13 BasicHttpResponse response; local
14 response.set_code(HTTP_OK);
15 response.set_content("Sample content - Hello world!");
16 response.set_content_type("text/plain");
17 response.AddCustomHeader("Simple-Header", "Simple value.");
27 EXPECT_EQ(kExpectedResponseString, response.ToResponseString());
/external/apache-http/src/org/apache/http/
H A DConnectionReuseStrategy.java70 * @param response
71 * The last response received over that connection.
78 boolean keepAlive(HttpResponse response, HttpContext context); argument
H A DHttpResponseInterceptor.java39 * 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 DResponseHandler.java38 * 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 DRedirectHandler.java42 * 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/chromium_org/chrome/browser/chromeos/system_logs/
H A Dcommand_line_log_source.cc22 void ExecuteCommandLines(system_logs::SystemLogsResponse* response) { argument
83 (*response)[commands[i].first] = output;
95 SystemLogsResponse* response = new SystemLogsResponse; local
98 base::Bind(&ExecuteCommandLines, response),
99 base::Bind(callback, base::Owned(response)));
H A Ddbus_log_source.cc19 SystemLogsResponse response; local
20 response[kDBusLogEntryShort] = dbus::statistics::GetAsString(
23 response[kDBusLogEntryLong] = dbus::statistics::GetAsString(
26 callback.Run(&response);
/external/chromium_org/net/ftp/
H A Dftp_ctrl_response_buffer_unittest.cc33 net::FtpCtrlResponse response = buffer_.PopResponse(); local
35 EXPECT_EQ(200, response.status_code);
36 ASSERT_EQ(1U, response.lines.size());
37 EXPECT_EQ("Status Text", response.lines[0]);
52 net::FtpCtrlResponse response = buffer_.PopResponse(); local
54 EXPECT_EQ(200, response.status_code);
55 ASSERT_EQ(1U, response.lines.size());
56 EXPECT_EQ("Status Text", response.lines[0]);
69 net::FtpCtrlResponse response = buffer_.PopResponse(); local
71 EXPECT_EQ(230, response
94 net::FtpCtrlResponse response = buffer_.PopResponse(); local
114 net::FtpCtrlResponse response = buffer_.PopResponse(); local
134 net::FtpCtrlResponse response = buffer_.PopResponse(); local
156 net::FtpCtrlResponse response = buffer_.PopResponse(); local
[all...]
/external/nist-sip/java/javax/sip/
H A DServerTransaction.java6 void sendResponse(Response response) argument
/external/apache-http/src/org/apache/http/conn/
H A DConnectionKeepAliveStrategy.java66 * @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 DDefaultConnectionReuseStrategy.java83 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 DNoConnectionReuseStrategy.java59 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/client/
H A DBasicResponseHandler.java44 * 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 DDefaultConnectionKeepAliveStrategy.java61 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 DDefaultProxyAuthenticationHandler.java58 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
H A DDefaultTargetAuthenticationHandler.java58 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.WWW_AUTH);
57 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
67 getChallenges( final HttpResponse response, final HttpContext context) argument
H A DTunnelRefusedException.java47 private final HttpResponse response; field in class:TunnelRefusedException
49 public TunnelRefusedException(final String message, final HttpResponse response) { argument
51 this.response = response;
55 return this.response;
/external/apache-http/src/org/apache/http/protocol/
H A DHttpExpectationVerifier.java75 void verify(HttpRequest request, HttpResponse response, HttpContext context) argument
H A DHttpRequestHandler.java55 void handle(HttpRequest request, HttpResponse response, HttpContext context) argument
H A DResponseConnControl.java47 * 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...]
H A DResponseContent.java46 * A response interceptor that sets up entity-related headers.
66 public void process(final HttpResponse response, final HttpContext context) argument
68 if (response == null) {
71 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) {
74 if (response.containsHeader(HTTP.CONTENT_LEN)) {
77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
78 HttpEntity entity = response.getEntity();
82 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
87 if (entity.getContentType() != null && !response
[all...]
H A DResponseDate.java42 * A response interceptor that adds a Date header.
64 public void process(final HttpResponse response, final HttpContext context) argument
66 if (response == null) {
68 ("HTTP response may not be null.");
70 int status = response.getStatusLine().getStatusCode();
72 !response.containsHeader(HTTP.DATE_HEADER)) {
74 response.setHeader(HTTP.DATE_HEADER, httpdate);

Completed in 383 milliseconds

1234567891011>>