HomeSort by relevance Sort by last modified time
    Searched refs:Response (Results 126 - 150 of 391) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/nanohttpd/markdown-plugin/src/main/java/fi/iki/elonen/
MarkdownWebServerPlugin.java 36 import static fi.iki.elonen.NanoHTTPD.Response.Status.OK;
110 public NanoHTTPD.Response serveFile(String uri, Map<String, String> headers, NanoHTTPD.IHTTPSession session, File file, String mimeType) {
119 return markdownSource == null ? null : new NanoHTTPD.Response(OK, NanoHTTPD.MIME_HTML, new ByteArrayInputStream(bytes), bytes.length);
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
SocksProxyTest.java 55 Response response1 = client.newCall(request1).execute();
59 Response response2 = client.newCall(request2).execute();
83 Response response = client.newCall(request).execute(); local
84 assertEquals("abc", response.body().string());
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
RequestBodyCompression.java 24 import com.squareup.okhttp.Response;
57 Response response = client.newCall(request).execute(); local
58 if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
60 System.out.println(response.body().string());
69 @Override public Response intercept(Chain chain) throws IOException {
WebSocketEcho.java 5 import com.squareup.okhttp.Response;
34 @Override public void onOpen(final WebSocket webSocket, Response response) {
71 @Override public void onFailure(IOException e, Response response) {
  /prebuilts/go/darwin-x86/src/net/http/
response_test.go 25 Resp Response
38 // Unchunked response without Content-Length.
45 Response{
62 // Unchunked HTTP/1.1 response without Content-Length or
69 Response{
84 // Unchunked HTTP/1.1 204 response without Content-Length.
90 Response{
105 // Unchunked response with Content-Length.
113 Response{
131 // Chunked response without Content-Length
    [all...]
response.go 5 // HTTP Response reading and parsing.
27 // Response represents the response from an HTTP request.
29 type Response struct {
36 // Header maps header keys to values. If the response had multiple
46 // Body represents the response body.
72 // ReadResponse nor Response.Write ever closes a connection.
79 // The Request that was sent to obtain this Response.
85 // response was received. It is nil for unencrypted responses.
92 func (r *Response) Cookies() []*Cookie
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
response_test.go 25 Resp Response
38 // Unchunked response without Content-Length.
45 Response{
62 // Unchunked HTTP/1.1 response without Content-Length or
69 Response{
84 // Unchunked HTTP/1.1 204 response without Content-Length.
90 Response{
105 // Unchunked response with Content-Length.
113 Response{
131 // Chunked response without Content-Length
    [all...]
response.go 5 // HTTP Response reading and parsing.
27 // Response represents the response from an HTTP request.
29 type Response struct {
36 // Header maps header keys to values. If the response had multiple
46 // Body represents the response body.
72 // ReadResponse nor Response.Write ever closes a connection.
79 // The Request that was sent to obtain this Response.
85 // response was received. It is nil for unencrypted responses.
92 func (r *Response) Cookies() []*Cookie
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/server/handler/
RequestLogHandler.java 33 import org.eclipse.jetty.server.Response;
57 public void handle(String target, final Request baseRequest, HttpServletRequest request, final HttpServletResponse response)
68 super.handle(target, baseRequest, request, response);
87 _requestLog.log(baseRequest, (Response)response);
92 _requestLog.log(baseRequest, (Response)response);
187 public void log(Request request, Response response)
  /external/libchrome/dbus/
object_proxy.h 28 class Response;
68 // Called when an error response is returned or no response is returned.
72 // Called when the response is returned. Used for CallMethod().
73 typedef base::Callback<void(Response*)> ResponseCallback;
95 // Calls the method of the remote object and blocks until the response
100 virtual scoped_ptr<Response> CallMethodAndBlockWithErrorDetails(
105 // Calls the method of the remote object and blocks until the response
109 virtual scoped_ptr<Response> CallMethodAndBlock(MethodCall* method_call,
117 // cases). If the caller is not interested in the response from th
    [all...]
  /external/libweave/examples/provider/
curl_http_client.h 39 std::pair<std::future<std::pair<std::unique_ptr<Response>, ErrorPtr>>,
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpChunkedResponseTest.java 36 import static fi.iki.elonen.NanoHTTPD.Response.Status.OK;
88 this.testServer.response = new NanoHTTPD(0) {
90 this.testServer.response.setChunkedTransfer(true);
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
ShutdownTest.java 57 public Response serve(IHTTPSession session) {
  /external/nanohttpd/samples/src/main/java/fi/iki/elonen/
HelloServer.java 60 public Response serve(IHTTPSession session) {
  /external/nist-sip/java/javax/sip/message/
Response.java 5 public interface Response extends Message {
  /external/skia/tools/skiaserve/urlhandlers/
DataHandler.cpp 12 #include "../Response.h"
14 using namespace Response;
DownloadHandler.cpp 14 #include "../Response.h"
16 using namespace Response;
EnableGPUHandler.cpp 12 #include "../Response.h"
14 using namespace Response;
ImgHandler.cpp 12 #include "../Response.h"
14 using namespace Response;
  /system/webservd/libwebserv/
mock_response.h 21 #include <libwebserv/response.h>
25 // Mock Response implementation for testing.
26 class MockResponse : public Response {
  /external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
http_mock.py 30 filename: string, absolute filename to read response from
31 headers: dict, header to return with response
59 return httplib2.Response(self.response_headers), self.data
66 call. Create an instance initialized with the desired response headers
79 'echo_request_headers' means return the request headers in the response body
81 the response body
82 'echo_request_body' means return the request body in the response body
83 'echo_request_uri' means return the request uri in the response body
115 return httplib2.Response(resp), content
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
StatusLine.java 4 import com.squareup.okhttp.Response;
8 /** An HTTP response status line like "HTTP/1.1 200 OK". */
25 public static StatusLine get(Response response) {
26 return new StatusLine(response.protocol(), response.code(), response.message());
57 // Parse response code like "200". Always 3 digits.
68 // Parse an optional response message like "OK" or "Not Modified". If it
69 // exists, it is separated from the response code by a space
    [all...]
  /external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
WebSocketCallTest.java 20 import com.squareup.okhttp.Response;
73 @Override public void onOpen(final WebSocket webSocket, Response response) {
106 @Override public void onOpen(final WebSocket webSocket, Response response) {
130 listener.assertFailure(ProtocolException.class, "Expected HTTP 101 response but was '200 OK'");
137 "Expected HTTP 101 response but was '404 Not Found'");
247 final AtomicReference<Response> responseRef = new AtomicReference<>();
252 @Override public void onOpen(WebSocket webSocket, Response response) {
    [all...]
  /frameworks/volley/src/test/java/com/android/volley/
RequestTest.java 61 protected void deliverResponse(Object response) {
65 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
89 protected void deliverResponse(Object response) {
93 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
BasicNetworkTest.java 21 import com.android.volley.Response;
52 protected Response<String> parseNetworkResponse(NetworkResponse response) {
57 protected void deliverResponse(String response) {

Completed in 518 milliseconds

1 2 3 4 56 7 8 91011>>