/external/jetty/src/java/org/eclipse/jetty/server/ |
D | Response.java | 41 import org.eclipse.jetty.http.HttpHeaders; 319 setHeader(HttpHeaders.EXPIRES,null); in sendError() 320 setHeader(HttpHeaders.LAST_MODIFIED,null); in sendError() 321 setHeader(HttpHeaders.CACHE_CONTROL,null); in sendError() 322 setHeader(HttpHeaders.CONTENT_TYPE,null); in sendError() 323 setHeader(HttpHeaders.CONTENT_LENGTH,null); in sendError() 355 setHeader(HttpHeaders.CACHE_CONTROL, "must-revalidate,no-cache,no-store"); in sendError() 400 _connection.getRequestFields().remove(HttpHeaders.CONTENT_TYPE_BUFFER); in sendError() 401 _connection.getRequestFields().remove(HttpHeaders.CONTENT_LENGTH_BUFFER); in sendError() 498 setHeader(HttpHeaders.LOCATION,location); in sendRedirect() [all …]
|
D | AbstractHttpConnection.java | 41 import org.eclipse.jetty.http.HttpHeaders; 836 int ho = HttpHeaders.CACHE.getOrdinal(name); in parsedHeader() 839 case HttpHeaders.HOST_ORDINAL: in parsedHeader() 844 case HttpHeaders.EXPECT_ORDINAL: in parsedHeader() 884 case HttpHeaders.ACCEPT_ENCODING_ORDINAL: in parsedHeader() 885 case HttpHeaders.USER_AGENT_ORDINAL: in parsedHeader() 889 case HttpHeaders.CONTENT_TYPE_ORDINAL: in parsedHeader() 918 … _responseFields.add(HttpHeaders.CONNECTION_BUFFER, HttpHeaderValues.KEEP_ALIVE_BUFFER); in headerComplete() 936 … _responseFields.add(HttpHeaders.CONNECTION_BUFFER,HttpHeaderValues.CLOSE_BUFFER); in headerComplete() 946 … _responseFields.put(HttpHeaders.CONNECTION_BUFFER, HttpHeaderValues.CLOSE_BUFFER); in headerComplete() [all …]
|
D | AbstractConnector.java | 32 import org.eclipse.jetty.http.HttpHeaders; 79 private String _forwardedHostHeader = HttpHeaders.X_FORWARDED_HOST; 80 private String _forwardedServerHeader = HttpHeaders.X_FORWARDED_SERVER; 81 private String _forwardedForHeader = HttpHeaders.X_FORWARDED_FOR; 82 private String _forwardedProtoHeader = HttpHeaders.X_FORWARDED_PROTO; 441 httpFields.put(HttpHeaders.HOST_BUFFER,_hostHeader); in checkForwardedHeaders() 449 httpFields.put(HttpHeaders.HOST_BUFFER,forwardedHost); in checkForwardedHeaders()
|
D | NCSARequestLog.java | 30 import org.eclipse.jetty.http.HttpHeaders; 484 addr = request.getHeader(HttpHeaders.X_FORWARDED_FOR); in log() 625 String referer = request.getHeader(HttpHeaders.REFERER); in logExtended() 635 String agent = request.getHeader(HttpHeaders.USER_AGENT); in logExtended()
|
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
D | DefaultServlet.java | 43 import org.eclipse.jetty.http.HttpHeaders; 430 reqRanges = request.getHeaders(HttpHeaders.RANGE); in doGet() 463 response.addHeader(HttpHeaders.VARY,HttpHeaders.ACCEPT_ENCODING); in doGet() 466 String accept=request.getHeader(HttpHeaders.ACCEPT_ENCODING); in doGet() 514 response.setHeader(HttpHeaders.CONTENT_ENCODING,"gzip"); in doGet() 683 String ifm=request.getHeader(HttpHeaders.IF_MATCH); in passConditionalHeaders() 707 String ifnm=request.getHeader(HttpHeaders.IF_NONE_MATCH); in passConditionalHeaders() 716 r.getHttpFields().put(HttpHeaders.ETAG_BUFFER,ifnm); in passConditionalHeaders() 727 r.getHttpFields().put(HttpHeaders.ETAG_BUFFER,content.getETag()); in passConditionalHeaders() 741 r.getHttpFields().put(HttpHeaders.ETAG_BUFFER,content.getETag()); in passConditionalHeaders() [all …]
|
/external/jetty/src/java/org/eclipse/jetty/security/authentication/ |
D | SpnegoAuthenticator.java | 28 import org.eclipse.jetty.http.HttpHeaders; 70 String header = req.getHeader(HttpHeaders.AUTHORIZATION); in validateRequest() 88 res.setHeader(HttpHeaders.WWW_AUTHENTICATE, HttpHeaders.NEGOTIATE); in validateRequest() 97 else if (header != null && header.startsWith(HttpHeaders.NEGOTIATE)) in validateRequest()
|
D | FormAuthenticator.java | 36 import org.eclipse.jetty.http.HttpHeaders; 260 response.setHeader(HttpHeaders.CACHE_CONTROL,"No-cache"); in validateRequest() 261 response.setDateHeader(HttpHeaders.EXPIRES,1); in validateRequest() 346 response.setHeader(HttpHeaders.CACHE_CONTROL,"No-cache"); in validateRequest() 347 response.setDateHeader(HttpHeaders.EXPIRES,1); in validateRequest() 473 if (HttpHeaders.CACHE_CONTROL.equalsIgnoreCase(name) || in notIgnored() 474 HttpHeaders.PRAGMA.equalsIgnoreCase(name) || in notIgnored() 475 HttpHeaders.ETAG.equalsIgnoreCase(name) || in notIgnored() 476 HttpHeaders.EXPIRES.equalsIgnoreCase(name) || in notIgnored() 477 HttpHeaders.LAST_MODIFIED.equalsIgnoreCase(name) || in notIgnored() [all …]
|
D | BasicAuthenticator.java | 28 import org.eclipse.jetty.http.HttpHeaders; 67 String credentials = request.getHeader(HttpHeaders.AUTHORIZATION); in validateRequest() 103 …response.setHeader(HttpHeaders.WWW_AUTHENTICATE, "basic realm=\"" + _loginService.getName() + '"'); in validateRequest()
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
D | ResourceHandler.java | 30 import org.eclipse.jetty.http.HttpHeaders; 445 String ifnm = request.getHeader(HttpHeaders.IF_NONE_MATCH); in handle() 450 baseRequest.getResponse().getHttpFields().put(HttpHeaders.ETAG_BUFFER,etag); in handle() 458 long if_modified=request.getDateHeader(HttpHeaders.IF_MODIFIED_SINCE); in handle() 472 response.setDateHeader(HttpHeaders.LAST_MODIFIED,last_modified); in handle() 474 baseRequest.getResponse().getHttpFields().put(HttpHeaders.ETAG_BUFFER,etag); in handle() 530 fields.putLongField(HttpHeaders.CONTENT_LENGTH_BUFFER,length); in doResponseHeaders() 533 fields.put(HttpHeaders.CACHE_CONTROL_BUFFER,_cacheControl); in doResponseHeaders() 538 response.setHeader(HttpHeaders.CONTENT_LENGTH,Long.toString(length)); in doResponseHeaders() 541 response.setHeader(HttpHeaders.CACHE_CONTROL,_cacheControl.toString()); in doResponseHeaders()
|
D | MovedContextHandler.java | 27 import org.eclipse.jetty.http.HttpHeaders; 124 response.setHeader(HttpHeaders.LOCATION,location.toString()); in handle() 127 response.setHeader(HttpHeaders.EXPIRES,_expires); in handle()
|
D | DefaultHandler.java | 29 import org.eclipse.jetty.http.HttpHeaders; 96 if (request.getDateHeader(HttpHeaders.IF_MODIFIED_SINCE)==_faviconModified) in handle() 103 response.setDateHeader(HttpHeaders.LAST_MODIFIED, _faviconModified); in handle() 104 response.setHeader(HttpHeaders.CACHE_CONTROL,"max-age=360000,public"); in handle()
|
/external/jetty/src/java/org/eclipse/jetty/http/ |
D | HttpFields.java | 402 return _names.get(HttpHeaders.CACHE.lookup(name)); 408 return _names.get(HttpHeaders.CACHE.lookup(name)); 414 return _names.containsKey(HttpHeaders.CACHE.lookup(name)); 420 return _names.containsKey(HttpHeaders.CACHE.lookup(name)); 609 Buffer n = HttpHeaders.CACHE.lookup(name); 624 Buffer n = HttpHeaders.CACHE.lookup(name); 643 name = HttpHeaders.CACHE.lookup(name); 667 Buffer n = HttpHeaders.CACHE.lookup(name); 701 Buffer n = HttpHeaders.CACHE.lookup(name); 721 name = HttpHeaders.CACHE.lookup(name); [all …]
|
D | HttpHeaderValues.java | 81 case HttpHeaders.CONNECTION_ORDINAL: in hasKnownValues() 82 case HttpHeaders.TRANSFER_ENCODING_ORDINAL: in hasKnownValues() 83 case HttpHeaders.CONTENT_ENCODING_ORDINAL: in hasKnownValues()
|
D | HttpHeaders.java | 27 public class HttpHeaders extends BufferCache class 174 public final static HttpHeaders CACHE= new HttpHeaders();
|
D | HttpGenerator.java | 484 _header.put(HttpHeaders.DATE_BUFFER); in completeHeader() 510 case HttpHeaders.CONTENT_LENGTH_ORDINAL: in completeHeader() 521 case HttpHeaders.CONTENT_TYPE_ORDINAL: in completeHeader() 529 case HttpHeaders.TRANSFER_ENCODING_ORDINAL: in completeHeader() 535 case HttpHeaders.CONNECTION_ORDINAL: in completeHeader() 632 case HttpHeaders.SERVER_ORDINAL: in completeHeader() 672 _header.put(HttpHeaders.CONTENT_LENGTH_BUFFER); in completeHeader()
|
/external/jetty/src/java/org/eclipse/jetty/client/ |
D | ContentExchange.java | 28 import org.eclipse.jetty.http.HttpHeaders; 79 int header = HttpHeaders.CACHE.getOrdinal(name); in onResponseHeader() 82 case HttpHeaders.CONTENT_LENGTH_ORDINAL: in onResponseHeader() 85 case HttpHeaders.CONTENT_TYPE_ORDINAL: in onResponseHeader()
|
D | RedirectListener.java | 23 import org.eclipse.jetty.http.HttpHeaders; 77 int header = HttpHeaders.CACHE.getOrdinal(name); in onResponseHeader() 80 case HttpHeaders.LOCATION_ORDINAL: in onResponseHeader() 159 _exchange.setRequestHeader( HttpHeaders.HOST, hostHeader.toString() ); in checkExchangeComplete()
|
D | AbstractHttpConnection.java | 30 import org.eclipse.jetty.http.HttpHeaders; 218 if (!requestHeaders.containsKey(HttpHeaders.HOST_BUFFER)) in commitRequest() 219 requestHeaders.add(HttpHeaders.HOST_BUFFER,_destination.getHostHeader()); in commitRequest() 225 requestHeaders.putLongField(HttpHeaders.CONTENT_LENGTH, requestContent.length()); in commitRequest() 239 requestHeaders.remove(HttpHeaders.CONTENT_LENGTH); in commitRequest() 307 if (HttpHeaders.CACHE.getOrdinal(name) == HttpHeaders.CONNECTION_ORDINAL) in parsedHeader()
|
D | HttpDestination.java | 35 import org.eclipse.jetty.http.HttpHeaders; 541 ex.addRequestHeader(HttpHeaders.COOKIE, buf.toString()); in doSend() 696 addRequestHeader(HttpHeaders.HOST, serverHostAndPort); in ConnectExchange() 697 addRequestHeader(HttpHeaders.PROXY_CONNECTION, "keep-alive"); in ConnectExchange() 698 addRequestHeader(HttpHeaders.USER_AGENT, "Jetty-Client"); in ConnectExchange()
|
/external/jetty/src/java/org/eclipse/jetty/client/security/ |
D | ProxyAuthorization.java | 25 import org.eclipse.jetty.http.HttpHeaders; 55 exchange.setRequestHeader( HttpHeaders.PROXY_AUTHORIZATION_BUFFER, _authorization); in setCredentials()
|
D | BasicAuthentication.java | 25 import org.eclipse.jetty.http.HttpHeaders; 55 exchange.setRequestHeader( HttpHeaders.AUTHORIZATION_BUFFER, _authorization); in setCredentials()
|
D | SecurityListener.java | 29 import org.eclipse.jetty.http.HttpHeaders; 156 int header = HttpHeaders.CACHE.getOrdinal(name); in onResponseHeader() 159 case HttpHeaders.WWW_AUTHENTICATE_ORDINAL: in onResponseHeader()
|
D | DigestAuthentication.java | 27 import org.eclipse.jetty.http.HttpHeaders; 71 exchange.setRequestHeader( HttpHeaders.AUTHORIZATION, in setCredentials()
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
D | NettyHttpClient.java | 36 import io.netty.handler.codec.http.HttpHeaders; 151 request.headers().set(HttpHeaders.Names.HOST, url.getHost()); in sendRequest() 152 request.headers().set(HttpHeaders.Names.ACCEPT_ENCODING, HttpHeaders.Values.GZIP); in sendRequest()
|
/external/guava/guava/src/com/google/common/net/ |
D | HttpHeaders.java | 37 public final class HttpHeaders { class 38 private HttpHeaders() {} in HttpHeaders() method in HttpHeaders
|