| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| protected static interface |
| Modifier and Type | Field and Description |
|---|---|
| protected final List | |
| private static final ThreadCache. | |
| private MappingData | |
| private final Request. | |
| protected Cookie[] | cookies
The set of cookies associated with this Request. |
| protected boolean | cookiesParsed
Cookies parsed flag. |
| protected FilterChainContext | |
| protected static final Locale | defaultLocale
The default Locale if none are specified. |
| private int | dispatchDepth
The current application dispatch depth. |
| protected Object | dispatcherType
The current dispatcher type. |
| private static final Boolean | |
| private static final String | |
| private final Request. | |
| protected HttpServerFilter | |
| protected final ServerInputBuffer | inputBuffer
The associated input buffer. |
| private final NIOInputStreamImpl | inputStream
NIOInputStream. |
| private String | |
| private static final LocaleParser | |
| protected final ArrayList | locales
The preferred Locales associated with this Request. |
| protected boolean | localesParsed
Parse locales. |
| private static final Logger | |
| private static final String | match
The match string for identifying a session ID parameter. |
| private static int | maxDispatchDepth
The maximum allowed application dispatch depth. |
| protected final ParameterMap | parameterMap
Hash map used in the getParametersMap method. |
| protected final Parameters | |
| private StringParser | parser
The string parser we will use for parsing request lines. |
| private final Request. | |
| protected Cookies | |
| private final NIOReaderImpl | reader
Reader. |
| protected HttpRequestPacket | request
HTTP Request Packet |
| private static final AtomicLong | |
| protected Object | requestDispatcherPath
The current request dispatcher path. |
| protected boolean | requestedSessionCookie
Was the requested session ID received in a cookie? |
| protected String | requestedSessionId
The requested session ID (if any) for this request. |
| protected boolean | requestedSessionURL
Was the requested session ID received in a URL? |
| private RequestExecutorProvider | requestExecutorProvider
The |
| private final String | |
| protected boolean | requestParametersParsed
Request parameters parsed flag. |
| protected final Response | response
The response with which this request is associated. |
| private String | scheme
The HTTP request scheme. |
| protected boolean | secure
Secure flag. |
| public static final String | SEND_FILE_ATTR
The value of this request attribute, as set by the developer must be a |
| public static final String | SEND_FILE_ENABLED_ATTR
Request attribute will be associated with a boolean value indicating whether or not it's possible to transfer a
|
| public static final String | SEND_FILE_START_OFFSET_ATTR
The value of this request attribute signifies the starting offset of the file transfer. |
| public static final String | SEND_FILE_WRITE_LEN_ATTR
The value of this request attribute signifies the total number of bytes to transfer. |
| private Session | |
| protected String | |
| protected SessionManager | |
| protected boolean | sessionParsed
Session parsed flag. |
| protected Subject | subject
The Subject associated with the current AccessControllerContext |
| protected Map | trailers
Trailer headers, if any. |
| protected Principal | userPrincipal
User principal. |
| protected boolean | usingInputStream
Using stream flag. |
| protected boolean | usingReader
Using writer flag. |
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAfterServiceListener(final AfterServiceListener
the listener, which will be notified, once Request processing will be finished. listener)Add the listener, which will be notified, once Request processing will be finished. |
| public void | |
| public void | |
| public void | addParameter(String
Name of this request parameter name, String[] Corresponding values for this request parameter values)Add a parameter name and corresponding set of values to this Request. |
| public static StringBuilder | Returns: AStringBuilder object containing the appended reconstructed URLAppends the reconstructed URL the client used to make the request. |
| public static StringBuffer | Returns: AStringBuffer object containing the appended reconstructed URLAppends the reconstructed URL the client used to make the request. |
| public boolean | areTrailersAvailable()
Returns: |
| public String | Returns: the original session idChange the session id of the current session associated with this request and return the new session id. |
| private boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| protected void | configureSessionCookie(final Cookie
The session cookie to be configured cookie)Configures the given session cookie. |
| public static Request | |
| public NIOInputStream | Returns: NIOInputStreamCreate and return a NIOInputStream to read the content associated with this Request. |
| public static < the E> NoteNote type. | Returns: theNote.the name)Note name.Create a named |
| public int | |
| protected Session | |
| public Object | Returns: the specified request attribute if it exists; otherwise, returnnull.Name of the request attribute to return name)Return the specified request attribute if it exists; otherwise, return |
| public Set | getAttributeNames()
Return the names of all request attributes for this Request, or an empty |
| public String | |
| public String | |
| public String | |
| public Connection | |
| public int | |
| public long | |
| public String | |
| public FilterChainContext | |
| public String | Returns: a String specifying the portion of the request URI that indicates the context of the requestReturns the portion of the request URI that indicates the context of the request. |
| public Cookie[] | |
| public long | getDateHeader(String
Name of the requested date header name)Return the value of the specified date header, if any; otherwise return -1. |
| public long | getDateHeader(Header
the requested date header)HeaderReturn the value of the specified date header, if any; otherwise return -1. |
| public String | |
| public String | |
| public String | |
| public Iterable | |
| public Iterable | getHeaders(String
Name of the requested header name)Return all of the values of the specified header, if any; otherwise, return an empty enumeration. |
| public Iterable | getHeaders(final Header
the requested header)HeaderReturn all of the values of the specified header, if any; otherwise, return an empty enumeration. |
| public HttpServerFilter | |
| public String | Returns: a String containing the name or path of the HttpHandler being called, as specified in the request URLReturns the part of this request's URL that calls the HttpHandler. |
| public InputBuffer | getInputBuffer()
Returns: the |
| public InputStream | |
| public int | getIntHeader(String
Name of the requested header name)Return the value of the specified header as an integer, or -1 if there is no such header for this request. |
| public int | getIntHeader(final Header
the requested header)HeaderReturn the value of the specified header as an integer, or -1 if there is no such header for this request. |
| public String | Returns: The jroute id of this request, or null if this request does not carry any jroute idGets the jroute id of this request, which may have been sent as a separate |
| public String | getLocalAddr()
Returns the Internet Protocol (IP) address of the interface on which the request was received. |
| public Locale | getLocale()
Return the preferred Locale that the client will accept content in, based on the value for the first
|
| public List | getLocales()
Return the set of preferred Locales that the client will accept content in, based on the values for any
|
| public String | getLocalName()
Returns the host name of the Internet Protocol (IP) interface on which the request was received. |
| public int | getLocalPort()
Returns the Internet Protocol (IP) port number of the interface on which the request was received. |
| public static int | |
| public Method | |
| public NIOInputStream | |
| public NIOReader | |
| public <E> E | |
| public Set | Returns: aSet containing the String names of all note bindings that exist for this request.Return a |
| public String | getParameter(final String
Name of the desired request parameter name)Return the value of the specified request parameter, if any; otherwise, return |
| public Map | Returns: Ajava. containing parameter names as keys and parameter values as map values.Returns a |
| public Set | |
| public Parameters | Returns: Parameters.Returns the low-level parameters holder for finer control over parameters. |
| public String[] | getParameterValues(String
Name of the desired request parameter name)Return the defined values for the specified request parameter, if any; otherwise, return |
| public String | Returns: a String specifying extra path information that comes after the HttpHandler path but before the query string in the request URL; or null if the URL does not have any extra path informationReturns any extra path information associated with the URL the client sent when it made this request. |
| public Buffer | |
| public Protocol | |
| public String | getProtocolRequestId()
Returns: an empty string or identifier managed by the underlying protocol (HTTP2) |
| public String | |
| protected Cookies | |
| public Reader | |
| public String | |
| public String | |
| public int | getRemotePort()
Returns the Internet Protocol (IP) source port of the client or last proxy that sent the request. |
| public String | |
| public HttpRequestPacket | |
| public String | |
| public Executor | getRequestExecutor()
Returns: the |
| public String | |
| public String | |
| public StringBuilder | Returns: AStringBuffer object containing the reconstructed URLReconstructs the URL the client used to make the request. |
| public Response | |
| public String | |
| pack-priv final HttpServerFilter | |
| public String | |
| public int | |
| public Session | |
| public Session | getSession(final boolean
Create a new session if one does not exist create)Return the session associated with this Request, creating one if necessary and requested. |
| public String | |
| protected SessionManager | |
| public Map | Returns: AMap of trailers headers, if any were present.Get the request trailer headers. |
| public Principal | |
| public int | |
| public void | initialize(final HttpRequestPacket request, final FilterChainContext ctx, final HttpServerFilter httpServerFilter)
|
| pack-priv static boolean | |
| public boolean | |
| public boolean | |
| public boolean | isRequestedSessionIdFromCookie()
Returns: |
| public boolean | isRequestedSessionIdFromURL()
Return |
| public boolean | isRequestedSessionIdValid()
Returns: true if the session identifier included in this request identifies a valid session. |
| public boolean | |
| pack-priv static boolean | isSSLAttribute(final String name)
Test if a given name is one of the special Servlet-spec SSL attributes. |
| private Charset | |
| public PushBuilder | newPushBuilder()
Returns: a new |
| public final MappingData | |
| protected String | obtainSessionCookieName()
Returns: |
| protected void | |
| protected void | |
| pack-priv void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| private boolean | |
| private boolean | |
| protected void | recycle()
Release all object references, and initialize instance variables, in preparation for reuse of this object. |
| public void | removeAfterServiceListener(final AfterServiceListener
the "after-service" listener, which was previously added by
listener)addAfterServiceListener(org..Remove the "after-service" listener, which was previously added by
|
| public void | removeAttribute(String
Name of the request attribute to remove name)Remove the specified request attribute if it exists. |
| public <E> E | removeNote(final Note<E>
Note value to be removedRemove the |
| public void | |
| public boolean | |
| public void | setAttribute(final String
Name of the request attribute to set name, final Object The associated value value)Set the specified request attribute to the specified value. |
| public void | setCharacterEncoding(final String
String containing the name of the character encoding.Overrides the name of the character encoding used in the body of this request. |
| protected void | |
| protected void | |
| public void | |
| protected void | |
| protected void | |
| pack-priv void | |
| public static void | |
| public void | |
| public <E> void | |
| protected void | |
| protected void | |
| public void | setQueryString(String
the query string associated with this request. queryString)Sets the query string associated with this request. |
| public void | setRequestedSessionCookie(boolean
The new flag flag)Set a flag indicating whether or not the requested session ID for this request came in through a cookie. |
| public void | |
| public void | setRequestedSessionURL(boolean
The new flag flag)Set a flag indicating whether or not the requested session ID for this request came in through a URL. |
| protected void | setRequestExecutorProvider(final RequestExecutorProvider requestExecutorProvider)
Sets @return the |
| public void | setRequestParameters(final Parameters
the parameters to expose via this request. parameters)This method may be used if some other entity processed request parameters and wishes to expose them via the request. |
| public void | |
| public void | setServerName(String
The server name name)Set the name of the server (virtual host) to process this request. |
| public void | |
| public void | setSessionCookieName(String sessionCookieName)
Set the session cookie name, if not set default JSESSIONID name will be used |
| protected void | setSessionManager(final SessionManager sessionManager)
Set |
| public void | setUserPrincipal(Principal
The user Principal principal)Set the Principal who has been authenticated for this Request. |
| protected void | |
| protected String |