Searched defs:response (Results 1 - 25 of 388) 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/webkit/Source/WebKit2/Shared/API/c/cf/
H A DWKURLResponseCF.cpp40 RefPtr<WebURLResponse> response = WebURLResponse::create(copiedURLResponse); local
41 return toAPI(response.release().releaseRef());
/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 DHttpResponseInterceptor.java39 * Processes a response.
40 * Provides the ability to process a response before it is sent
54 * Processes a response.
55 * On the server side, this step is performed before the response is
59 * @param response the response to postprocess
65 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
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; argument
H A DRedirectHandler.java42 * a new location in response to an HTTP response received from the target
56 * given the response from the target server.
58 * @param response the response received from the target server
64 boolean isRedirectRequested(HttpResponse response, HttpContext context); argument
68 * given the response from the target server and the current request
71 * @param response the response received from the target server
76 URI getLocationURI(HttpResponse response, HttpContex argument
[all...]
/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/nist-sip/java/javax/sip/
H A DServerTransaction.java6 void sendResponse(Response response) argument
/external/webkit/Source/WebCore/platform/
H A DCrossThreadCopier.cpp64 CrossThreadCopierBase<false, false, ResourceResponse>::Type CrossThreadCopierBase<false, false, ResourceResponse>::copy(const ResourceResponse& response) argument
66 return response.copyData();
/external/apache-http/src/org/apache/http/conn/
H A DConnectionKeepAliveStrategy.java61 * @param response
62 * The last response received over the connection.
69 long getKeepAliveDuration(HttpResponse response, HttpContext context); argument
/external/apache-http/src/org/apache/http/impl/
H A DDefaultConnectionReuseStrategy.java78 public boolean keepAlive(final HttpResponse response, argument
80 if (response == null) {
82 ("HTTP response may not be null.");
98 HttpEntity entity = response.getEntity();
99 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
114 HeaderIterator hit = response.headerIterator(HTTP.CONN_DIRECTIVE);
116 hit = response.headerIterator("Proxy-Connection");
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/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
62 * Returns the response body as a String if the response was successful (a
63 * 2xx status code). If no response body exists, this returns null. If the
64 * response was unsuccessful (>= 300 status code), throws an
67 public String handleResponse(final HttpResponse response) argument
69 StatusLine statusLine = response.getStatusLine();
75 HttpEntity entity = response
[all...]
H A DDefaultConnectionKeepAliveStrategy.java56 public long getKeepAliveDuration(HttpResponse response, HttpContext context) { argument
57 if (response == null) {
58 throw new IllegalArgumentException("HTTP response may not be null");
61 response.headerIterator(HTTP.CONN_KEEP_ALIVE));
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
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;
/external/apache-http/src/org/apache/http/protocol/
H A DHttpExpectationVerifier.java70 void verify(HttpRequest request, HttpResponse response, HttpContext context) argument
H A DHttpRequestHandler.java50 void handle(HttpRequest request, HttpResponse response, HttpContext context) argument
H A DResponseConnControl.java47 * A response interceptor that suggests connection keep-alive to the client.
62 public void process(final HttpResponse response, final HttpContext context) argument
64 if (response == null) {
65 throw new IllegalArgumentException("HTTP response may not be null");
71 int status = response.getStatusLine().getStatusCode();
79 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE);
84 HttpEntity entity = response.getEntity();
86 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
89 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE);
99 response
[all...]
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 DResponseDate.java42 * A response interceptor that adds a Date header.
59 public void process(final HttpResponse response, final HttpContext context) argument
61 if (response == null) {
63 ("HTTP response may not be null.");
65 int status = response.getStatusLine().getStatusCode();
67 !response.containsHeader(HTTP.DATE_HEADER)) {
69 response.setHeader(HTTP.DATE_HEADER, httpdate);
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);
/external/v8/test/mjsunit/regress/
H A Dregress-1081309.js48 ParsedResponse.prototype.response = function() {
77 var response = new ParsedResponse(dcp.processDebugJSONRequest(json));
78 var backtrace = response.body();
82 assertEquals("g", response.lookup(backtrace.frames[0].func.ref).name);
83 assertEquals("", response.lookup(backtrace.frames[1].func.ref).name);
/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);

Completed in 256 milliseconds

1234567891011>>