Home
last modified time | relevance | path

Searched refs:originalRequest (Results 1 – 12 of 12) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCall.java43 Request originalRequest; field in Call
46 protected Call(OkHttpClient client, Request originalRequest) { in Call() argument
50 this.originalRequest = originalRequest; in Call()
89 return originalRequest.tag(); in tag()
143 super("OkHttp %s", originalRequest.urlString()); in AsyncCall()
149 return originalRequest.httpUrl().host(); in host()
153 return originalRequest; in request()
157 return originalRequest.tag(); in tag()
174 responseCallback.onFailure(originalRequest, new IOException("Canceled")); in execute()
184 Request request = engine == null ? originalRequest : engine.getRequest(); in execute()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCall.java45 Request originalRequest; field in Call
48 protected Call(OkHttpClient client, Request originalRequest) { in Call() argument
52 this.originalRequest = originalRequest; in Call()
91 return originalRequest.tag(); in tag()
145 super("OkHttp %s", originalRequest.urlString()); in AsyncCall()
151 return originalRequest.httpUrl().host(); in host()
155 return originalRequest; in request()
159 return originalRequest.tag(); in tag()
176 responseCallback.onFailure(originalRequest, new IOException("Canceled")); in execute()
186 Request request = engine == null ? originalRequest : engine.getRequest(); in execute()
[all …]
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
DRequestBodyCompression.java70 Request originalRequest = chain.request(); in intercept() local
71 if (originalRequest.body() == null || originalRequest.header("Content-Encoding") != null) { in intercept()
72 return chain.proceed(originalRequest); in intercept()
75 Request compressedRequest = originalRequest.newBuilder() in intercept()
77 .method(originalRequest.method(), gzip(originalRequest.body())) in intercept()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DGuiceFilter.java127 HttpServletRequest originalRequest = in doFilter() local
130 RequestScoper.CloseableScope scope = new Context(originalRequest, request, response).open(); in doFilter()
177 final HttpServletRequest originalRequest; field in GuiceFilter.Context
186 HttpServletRequest originalRequest, in Context() argument
189 this.originalRequest = originalRequest; in Context()
195 return originalRequest; in getOriginalRequest()
DFilterChainInvocation.java73 HttpServletRequest originalRequest = in doFilter() local
75 GuiceFilter.localContext.set(new GuiceFilter.Context(originalRequest, request, response)); in doFilter()
DServletDefinition.java286 HttpServletRequest originalRequest = in doServiceImpl() local
288 GuiceFilter.localContext.set(new GuiceFilter.Context(originalRequest, request, response)); in doServiceImpl()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPClientTransaction.java1105 SIPRequest originalRequest = this.getOriginalRequest(); in createCancel() local
1106 if (originalRequest == null) in createCancel()
1108 if (!originalRequest.getMethod().equals(Request.INVITE)) in createCancel()
1111 if (originalRequest.getMethod().equalsIgnoreCase(Request.ACK)) in createCancel()
1114 SIPRequest cancelRequest = originalRequest.createCancelRequest(); in createCancel()
1126 SIPRequest originalRequest = this.getOriginalRequest(); in createAck() local
1127 if (originalRequest == null) in createAck()
1139 SIPRequest ackRequest = originalRequest.createAckRequest((To) lastResponse.getTo()); in createAck()
1214 SIPRequest originalRequest = this.getOriginalRequest(); in createErrorAck() local
1215 if (originalRequest == null) in createErrorAck()
[all …]
DSIPTransaction.java187 protected SIPRequest originalRequest; field in SIPTransaction
379 if (this.originalRequest != null in setOriginalRequest()
380 && (!this.originalRequest.getTransactionId().equals( in setOriginalRequest()
386 this.originalRequest = newOriginalRequest; in setOriginalRequest()
401 originalRequest.setTransaction(this); in setOriginalRequest()
428 return originalRequest; in getOriginalRequest()
437 return (Request) originalRequest; in getRequest()
DSIPDialog.java148 private transient SIPRequest originalRequest; field in SIPDialog
1497 if (this.originalRequest == null) { in addTransaction()
1498 this.originalRequest = sipRequest; in addTransaction()
1527 this.originalRequest = sipRequest; in addTransaction()
2461 if (originalRequest != null && originalRequest.getTopmostVia() != null) { in createAck()
2462 NameValueList originalRequestParameters = originalRequest.getTopmostVia() in createAck()
2482 if (this.originalRequest != null) { in createAck()
2483 Authorization authorization = this.originalRequest.getAuthorization(); in createAck()
2676 if (originalRequest != null) { in setLastResponse()
2677 RecordRouteList rrList = originalRequest.getRecordRouteHeaders(); in setLastResponse()
[all …]
DSIPServerTransaction.java1223 public void setOriginalRequest(SIPRequest originalRequest) { in setOriginalRequest() argument
1224 super.setOriginalRequest(originalRequest); in setOriginalRequest()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DInterceptorTest.java219 Request originalRequest = chain.request(); in networkInterceptorsCanChangeRequestMethodFromGetToPost()
222 return chain.proceed(originalRequest.newBuilder() in networkInterceptorsCanChangeRequestMethodFromGetToPost()
255 Request originalRequest = chain.request(); in rewriteRequestToServer()
256 return chain.proceed(originalRequest.newBuilder() in rewriteRequestToServer()
257 .method("POST", uppercase(originalRequest.body())) in rewriteRequestToServer()
324 Request originalRequest = chain.request(); in multipleInterceptors()
325 Response originalResponse = chain.proceed(originalRequest.newBuilder() in multipleInterceptors()
335 Request originalRequest = chain.request(); in multipleInterceptors()
336 Response originalResponse = chain.proceed(originalRequest.newBuilder() in multipleInterceptors()
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_messages.py354 originalRequest = _messages.MessageField('OriginalRequestValue', 2) variable in CompositeOperationMetadata