/external/jetty/src/java/org/eclipse/jetty/security/ |
ConstraintSecurityHandler.java | 45 import org.eclipse.jetty.server.Response; 682 * @see org.eclipse.jetty.security.SecurityHandler#checkUserDataPermissions(java.lang.String, org.eclipse.jetty.server.Request, org.eclipse.jetty.server.Response, java.lang.Object) 684 protected boolean checkUserDataPermissions(String pathInContext, Request request, Response response, Object constraintInfo) throws IOException 715 response.setContentLength(0); 716 response.sendRedirect(url); 719 response.sendError(Response.SC_FORBIDDEN,"!Integral"); 738 response.setContentLength(0); 739 response.sendRedirect(url) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/fps/ |
response.py | 29 class FPSResponse(Response): 35 if name != action + 'Response': 66 class Response(ResponseElement): 75 return super(Response, self).startElement(name, attrs, connection)
|
/external/libchrome/dbus/ |
property.h | 262 Response* response); 273 virtual void OnGetAll(Response* response); 286 Response* response);
|
exported_object.cc | 239 // It's valid to say HANDLED here, and send a method response at a later 258 scoped_ptr<Response> response) { 266 base::Passed(&response), 269 OnMethodCompleted(std::move(method_call), std::move(response), start_time); 274 scoped_ptr<Response> response, 280 response ? 1 : 0, 288 if (!response) { 300 bus_->Send(response->raw_message(), NULL) [all...] |
/external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/ |
TestNanoFileUpLoad.java | 72 import fi.iki.elonen.NanoHTTPD.Response.Status; 86 public Response response = newFixedLengthResponse(""); field in class:TestNanoFileUpLoad.TestServer 120 public Response serve(IHTTPSession session) { 155 this.response.setStatus(Status.INTERNAL_ERROR); 162 return this.response; 171 CloseableHttpResponse response = httpclient.execute(httphead); local 172 Assert.assertEquals(200, response.getStatusLine().getStatusCode()); 173 response.close(); 220 HttpResponse response = httpclient.execute(post) local [all...] |
/device/google/contexthub/util/nanotool/ |
nanomessage.h | 106 * A response to writing an event to the ContextHub. 113 struct Response { 115 } __attribute__((packed)) response; member in class:android::WriteEventResponse 119 * A response to reading an event from the ContextHub. 147 // Event data associated with this response.
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
CookieIntegrationTest.java | 68 public Response serve(IHTTPSession session) {
|
GetAndPostIntegrationTest.java | 60 import fi.iki.elonen.NanoHTTPD.Response.Status; 69 public String response; field in class:GetAndPostIntegrationTest.TestServer 76 public Response serve(String uri, Method method, Map<String, String> header, Map<String, String> parms, Map<String, String> files) { 77 StringBuilder sb = new StringBuilder(String.valueOf(method) + ':' + this.response); 103 this.testServer.response = "testGetRequestWithParameters"; 114 this.testServer.response = "testPostRequestWithFormEncodedParameters"; 130 this.testServer.response = "testPostRequestWithMultipartEncodedParameters"; 146 this.testServer.response = "testPostWithNoParameters"; 157 this.testServer.response = "testSimpleGetRequest"; 168 this.testServer.response = "testPostRequestWithMultipartEncodedParameters" 181 HttpResponse response = this.httpclient.execute(httppost); local [all...] |
/external/nanohttpd/samples/src/main/java/fi/iki/elonen/debug/ |
DebugServer.java | 58 public Response serve(IHTTPSession session) {
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
AuthenticationHelperImpl.java | 49 import javax.sip.message.Response; 122 * @see gov.nist.javax.sip.clientauthutils.AuthenticationHelper#handleChallenge(javax.sip.message.Response, 125 public ClientTransaction handleChallenge(Response challenge, 177 if (challenge.getStatusCode() == Response.UNAUTHORIZED) { 179 } else if (challenge.getStatusCode() == Response.PROXY_AUTHENTICATION_REQUIRED) { 283 * Generates an authorisation header in response to wwwAuthHeader. 291 * @return an authorisation header in response to authHeader. 297 String response = null; local 306 response = MessageDigestAlgorithm.calculateResponse(authHeader.getAlgorithm(), 325 authorization.setResponse(response); 364 String response = null; local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpConnection.java | 22 import com.squareup.okhttp.Response; 52 * <li>{@link #readResponse Read response headers}. 53 * <li>Open a source to read the response body. Either {@link 59 * the request body. Exchanges that do not have a response body can call {@link 105 * the HTTP response body is exhausted. 118 * Configure this connection to close itself when the HTTP response body is 183 /** Parses bytes of a response header from an HTTP transport. */ 184 public Response.Builder readResponse() throws IOException { 193 Response.Builder responseBuilder = new Response.Builder( [all...] |
/external/pdfium/fpdfsdk/include/fpdfxfa/ |
fpdfxfa_app.h | 57 void Response(CFX_WideString& wsAnswer,
|
/external/skia/tools/skiaserve/ |
Response.cpp | 8 #include "Response.h" 42 namespace Response { 43 // SendOK just sends an empty response with a 200 OK status code. 47 MHD_Response* response = MHD_create_response_from_buffer(strlen(data), local 50 int ret = MHD_queue_response(connection, 200, response); 51 MHD_destroy_response(response); 56 MHD_Response* response = MHD_create_response_from_buffer(strlen(msg), local 59 int ret = MHD_queue_response(connection, 500, response); 60 MHD_destroy_response(response); 66 MHD_Response* response = MHD_create_response_from_buffer(data->size() local 96 MHD_Response* response = MHD_create_response_from_buffer( local [all...] |
/frameworks/volley/src/main/java/com/android/volley/ |
NetworkDispatcher.java | 115 // If the server returned 304 AND we delivered a response already, 116 // we're done -- don't deliver a second identical response. 122 // Parse the response here on the worker thread. 123 Response<?> response = request.parseNetworkResponse(networkResponse); local 128 if (request.shouldCache() && response.cacheEntry != null) { 129 mCache.put(request.getCacheKey(), response.cacheEntry); 133 // Post the response back. 135 mDelivery.postResponse(request, response);
|
/frameworks/volley/src/test/java/com/android/volley/ |
NetworkDispatcherTest.java | 68 Response<?> response = mDelivery.responsePosted; local 69 assertNotNull(response); 70 assertTrue(response.isSuccess()); 71 assertTrue(Arrays.equals((byte[])response.result, CANNED_DATA));
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
http.go | 63 fetch := func(scheme string) (urlStr string, res *http.Response, err error) { 80 closeBody := func(res *http.Response) {
|
/prebuilts/go/darwin-x86/src/net/rpc/jsonrpc/ |
client.go | 30 // and then look it up by request ID when filling out the rpc Response. 73 func (c *clientCodec) ReadResponseHeader(r *rpc.Response) error {
|
/prebuilts/go/linux-x86/src/cmd/go/ |
http.go | 63 fetch := func(scheme string) (urlStr string, res *http.Response, err error) { 80 closeBody := func(res *http.Response) {
|
/prebuilts/go/linux-x86/src/net/rpc/jsonrpc/ |
client.go | 30 // and then look it up by request ID when filling out the rpc Response. 73 func (c *clientCodec) ReadResponseHeader(r *rpc.Response) error {
|
/system/tpm/trunks/ |
trunks_dbus_proxy.cc | 66 auto on_success = [callback](const SendCommandResponse& response) { 67 callback.Run(response.response()); 70 SendCommandResponse response; 71 response.set_response(CreateErrorResponse(SAPI_RC_NO_RESPONSE_RECEIVED)); 72 callback.Run(response.response()); 92 std::unique_ptr<dbus::Response> dbus_response = 103 return tpm_response_proto.response(); 105 LOG(ERROR) << "TrunksProxy could not parse response: [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
remote_test.py | 52 class Response(messages.Message): 53 """Test response message.""" 60 @remote.method(Request, Response) 62 response = Response() 63 response.value = request.value 64 return response 75 """Simple response message type used for tests.""" 187 """Wrong response type returned from remote method.""" 225 """Test bad response types used in remote definition."" [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
StatisticsHandler.java | 33 import org.eclipse.jetty.server.Response; 154 Response response = request.getResponse(); local 155 switch (response.getStatus() / 100) 175 _responsesTotalBytes.addAndGet(response.getContentCount());
|
/external/libweave/examples/provider/ |
curl_http_client.cc | 22 struct ResponseImpl : public provider::HttpClient::Response { 59 std::pair<std::unique_ptr<CurlHttpClient::Response>, ErrorPtr> 95 std::unique_ptr<ResponseImpl> response{new ResponseImpl}; 99 curl_easy_setopt(curl.get(), CURLOPT_WRITEDATA, &response->data)); 119 response->content_type = header.second; 123 &response->status)); 125 return {std::move(response), nullptr};
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
RespondViaSmsManager.java | 34 import android.telecom.Response; 85 * @param response An object to receive an async reply, which will be called from 89 public void loadCannedTextMessages(final Response<Void, List<String>> response, 125 response.onResult(null, textMessages);
|
/prebuilts/go/darwin-x86/doc/articles/wiki/ |
get.go | 40 var r *http.Response
|