Home
last modified time | relevance | path

Searched refs:responseHandler (Results 1 – 11 of 11) sorted by relevance

/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWebSocketServer.java7 private final WebSocketResponseHandler responseHandler; field in NanoWebSocketServer
11 responseHandler = new WebSocketResponseHandler(this); in NanoWebSocketServer()
16 responseHandler = new WebSocketResponseHandler(this); in NanoWebSocketServer()
21 responseHandler = new WebSocketResponseHandler(webSocketFactory); in NanoWebSocketServer()
26 responseHandler = new WebSocketResponseHandler(webSocketFactory); in NanoWebSocketServer()
31 Response candidate = responseHandler.serve(session); in serve()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGetAndPostIntegrationTest.java39 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testSimpleGetRequest() local
40 String responseBody = httpclient.execute(httpget, responseHandler); in testSimpleGetRequest()
50 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testGetRequestWithParameters() local
51 String responseBody = httpclient.execute(httpget, responseHandler); in testGetRequestWithParameters()
61 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testPostWithNoParameters() local
62 String responseBody = httpclient.execute(httppost, responseHandler); in testPostWithNoParameters()
77 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testPostRequestWithFormEncodedParameters() local
78 String responseBody = httpclient.execute(httppost, responseHandler); in testPostRequestWithFormEncodedParameters()
93 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testPostRequestWithMultipartEncodedParameters() local
94 String responseBody = httpclient.execute(httppost, responseHandler); in testPostRequestWithMultipartEncodedParameters()
DCookieIntegrationTest.java26 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testNoCookies() local
27 httpclient.execute(httpget, responseHandler); in testNoCookies()
37 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testCookieSentBackToClient() local
38 httpclient.execute(httpget, responseHandler); in testCookieSentBackToClient()
55 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testServerReceivesCookiesSentFromClient() local
56 httpclient.execute(httpget, responseHandler); in testServerReceivesCookiesSentFromClient()
DPutStreamIntegrationTest.java25 ResponseHandler<String> responseHandler = new BasicResponseHandler(); in testSimplePutRequest() local
26 String responseBody = httpclient.execute(httpput, responseHandler); in testSimplePutRequest()
/external/nanohttpd/websocket/src/test/java/fi/iki/elonen/
DWebSocketResponseHandlerTest.java41 private WebSocketResponseHandler responseHandler; field in WebSocketResponseHandlerTest
56 responseHandler = new WebSocketResponseHandler(webSocketFactory); in setUp()
61 Response handshakeResponse = responseHandler.serve(session); in testHandshakeReturnsResponseWithExpectedHeaders()
76 Response handshakeResponse = responseHandler.serve(session); in testWrongWebsocketVersionReturnsErrorResponse()
86 Response handshakeResponse = responseHandler.serve(session); in testMissingKeyReturnsErrorResponse()
95 Response handshakeResponse = responseHandler.serve(session); in testWrongUpgradeHeaderReturnsNullResponse()
102 Response handshakeResponse = responseHandler.serve(session); in testWrongConnectionHeaderReturnsNullResponse()
109 Response handshakeResponse = responseHandler.serve(session); in testConnectionHeaderHandlesKeepAlive_FixingFirefoxConnectIssue()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAndroidHttpClient.java71 … execute(HttpUriRequest httpUriRequest, ResponseHandler<? extends T> responseHandler) throws IOExc… in execute() argument
72 return httpClient.execute(httpUriRequest, responseHandler); in execute()
76 … execute(HttpUriRequest httpUriRequest, ResponseHandler<? extends T> responseHandler, HttpContext … in execute() argument
77 return httpClient.execute(httpUriRequest, responseHandler, httpContext); in execute()
81 …Host httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler) throws IOExc… in execute() argument
82 return httpClient.execute(httpHost, httpRequest, responseHandler); in execute()
86 …Host httpHost, HttpRequest httpRequest, ResponseHandler<? extends T> responseHandler, HttpContext … in execute() argument
87 return httpClient.execute(httpHost, httpRequest, responseHandler, httpContext); in execute()
/external/apache-http/src/org/apache/http/client/
DHttpClient.java185 ResponseHandler<? extends T> responseHandler) in execute() argument
202 ResponseHandler<? extends T> responseHandler, in execute() argument
225 ResponseHandler<? extends T> responseHandler) in execute() argument
249 ResponseHandler<? extends T> responseHandler, in execute() argument
/external/apache-http/src/org/apache/http/impl/client/
DAbstractHttpClient.java619 final ResponseHandler<? extends T> responseHandler) in execute() argument
621 return execute(request, responseHandler, null); in execute()
628 final ResponseHandler<? extends T> responseHandler, in execute() argument
632 return execute(target, request, responseHandler, context); in execute()
640 final ResponseHandler<? extends T> responseHandler) in execute() argument
642 return execute(target, request, responseHandler, null); in execute()
650 final ResponseHandler<? extends T> responseHandler, in execute() argument
653 if (responseHandler == null) { in execute()
662 result = responseHandler.handleResponse(response); in execute()
/external/apache-http/android/src/android/net/http/
DAndroidHttpClient.java269 ResponseHandler<? extends T> responseHandler) in execute() argument
271 return delegate.execute(request, responseHandler); in execute()
275 ResponseHandler<? extends T> responseHandler, HttpContext context) in execute() argument
277 return delegate.execute(request, responseHandler, context); in execute()
281 ResponseHandler<? extends T> responseHandler) throws IOException, in execute() argument
283 return delegate.execute(target, request, responseHandler); in execute()
287 ResponseHandler<? extends T> responseHandler, HttpContext context) in execute() argument
289 return delegate.execute(target, request, responseHandler, context); in execute()
/external/robolectric/lib/main/
Dhttpclient-4.0.3.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...