- AbstractResourceSerlvlet - Class in org.clazzes.util.http
-
An abstract base servlet, which provides the additional header functionality
for concrete implementations.
- AbstractResourceSerlvlet() - Constructor for class org.clazzes.util.http.AbstractResourceSerlvlet
-
- AcceptHelper - Class in org.clazzes.util.http
-
Provide selections of items from Accept
, Accept-Charset
,
Accept-Encoding
or Accept-Language
HTTP headers.
- AcceptHelper() - Constructor for class org.clazzes.util.http.AcceptHelper
-
- AcceptMatcher - Interface in org.clazzes.util.http
-
A matcher for items in Accept
, Accept-Charset
,
Accept-Encoding
or Accept-Language
HTTP headers.
- addAdditionalHeader(AdditionalHeader) - Method in class org.clazzes.util.http.AbstractResourceSerlvlet
-
- addAlias(String, String) - Method in class org.clazzes.util.http.ResourceServlet
-
Add an alias for a given path info.
- addExcludeMimeType(String) - Method in class org.clazzes.util.http.ResourceServlet
-
Add an element to the list of MIME types to be excluded from compression.
- addGetPlugin(String, Servlet) - Method in class org.clazzes.util.http.ResourceServlet
-
Add a plugin for GET requests for a given extension.
- AdditionalHeader - Class in org.clazzes.util.http
-
A configuration POJO, which lets the user configure additional
headers to be delivered based on MIME type and/ or path regex matching.
- AdditionalHeader() - Constructor for class org.clazzes.util.http.AdditionalHeader
-
- AdditionalHeader(String, String, Pattern, Pattern) - Constructor for class org.clazzes.util.http.AdditionalHeader
-
- addParameter(String, String) - Method in class org.clazzes.util.http.SingletonUrlParameterConsumer
-
- addParameter(String, String) - Method in interface org.clazzes.util.http.UrlParameterConsumer
-
Propagate a parameter being met while parsing a query
string.
- addPostPlugin(String, Servlet) - Method in class org.clazzes.util.http.ResourceServlet
-
Add a plugin for POST requests for a given extension.
- addRedirect(String, String) - Method in class org.clazzes.util.http.ResourceServlet
-
Add a path-to-URL redirect.
- appendQueryParameter(String, String, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Append additional query parameters to the end of a given query string.
- appendQueryParameterToUrl(String, String, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Append additional query parameters to the end of a given URL.
- getAdditionalHeaders() - Method in class org.clazzes.util.http.AbstractResourceSerlvlet
-
- getAliases() - Method in class org.clazzes.util.http.ResourceServlet
-
- getBooleanParameter(HttpServletRequest, String) - Static method in class org.clazzes.util.http.RequestHelper
-
Get the value of the servlet parameter
key
and parse it
using
Boolean.parseBoolean(String)
if a value for this servlet parameter
has been found.
- getBooleanParameter(Map<String, List<String>>, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the value of the query parameter
key
and parse it
using
Boolean.parseBoolean(String)
if a value for this query parameter
has been found.
- getBooleanParameter(String, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the value of the query parameter
key
and parse it
using
Boolean.parseBoolean(String)
if a value for this query parameter
has been found.
- getBufferSize() - Method in class org.clazzes.util.http.InputStreamHttpResource
-
- getBufferSize() - Method in class org.clazzes.util.http.ResourceServlet
-
- getBufferSize() - Method in class org.clazzes.util.http.URLHttpResource
-
- getBy() - Method in class org.clazzes.util.http.ForwardedInfo
-
- getCacheRegex() - Method in class org.clazzes.util.http.ResourceServlet
-
- getClient() - Method in class org.clazzes.util.http.ForwardedInfo
-
- getCompatibleContentDispositionAttachmentHeader(String) - Static method in class org.clazzes.util.http.UrlHelper
-
- getConnectTimeout() - Method in class org.clazzes.util.http.ReverseProxyServlet
-
- getDelegate() - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
-
- getDelegateResolver() - Method in class org.clazzes.util.http.ResourceServlet
-
- getDoubleParameter(HttpServletRequest, String) - Static method in class org.clazzes.util.http.RequestHelper
-
Get the value of the servlet parameter
key
and parse it
using
Double.parseDouble(String)
if a value for this servlet parameter
has been found.
- getDoubleParameter(Map<String, List<String>>, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the value of the query parameter
key
and parse it
using
Double.parseDouble(String)
if a value for this query parameter
has been found.
- getDoubleParameter(String, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the value of the query parameter
key
and parse it
using
Double.parseDouble(String)
if a value for this query parameter
has been found.
- getExcludeMimeTypes() - Method in class org.clazzes.util.http.ResourceServlet
-
- getExtension(String) - Static method in class org.clazzes.util.http.osgi.DefaultHttpContext
-
- getExtensionMimeTypes() - Method in class org.clazzes.util.http.osgi.BasicHttpContext
-
- getExtensionMimeTypes() - Static method in class org.clazzes.util.http.osgi.DefaultHttpContext
-
- getFirstForwarded(HttpServletRequest) - Static method in class org.clazzes.util.http.RequestHelper
-
Get the forwarded information of the first reverse proxy either received by
a new-style Forwarded
header or a legacy X-Forwarded-*
header.
- getForwarded(HttpServletRequest) - Static method in class org.clazzes.util.http.RequestHelper
-
Get a list of forwarded information keys to the list of forwarded
infos from a new-style
RFC 7239 conforming
Forwarded
header.
- getGetPlugins() - Method in class org.clazzes.util.http.ResourceServlet
-
- getHeader() - Method in class org.clazzes.util.http.AdditionalHeader
-
- getHost() - Method in class org.clazzes.util.http.ForwardedInfo
-
- getHttpContext() - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
-
- getInitparams() - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
-
- getInputStream() - Method in class org.clazzes.util.http.InputStreamHttpResource
-
- getInstance() - Static method in class org.clazzes.util.http.osgi.DefaultHttpContext
-
- getIntegerParameter(HttpServletRequest, String) - Static method in class org.clazzes.util.http.RequestHelper
-
Get the value of the servlet parameter
key
and parse it
using
Integer.parseInt(String)
if a value for this servlet parameter
has been found.
- getIntegerParameter(Map<String, List<String>>, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the value of the query parameter
key
and parse it
using
Integer.parseInt(String)
if a value for this query parameter
has been found.
- getIntegerParameter(String, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the value of the query parameter
key
and parse it
using
Integer.parseInt(String)
if a value for this query parameter
has been found.
- getKey() - Method in class org.clazzes.util.http.SingletonUrlParameterConsumer
-
- getLastModified() - Method in interface org.clazzes.util.http.HttpResource
-
- getLastModified() - Method in class org.clazzes.util.http.InputStreamHttpResource
-
- getLastModified() - Method in class org.clazzes.util.http.URLHttpResource
-
- getLocale() - Method in interface org.clazzes.util.http.sec.CheckLoginService
-
- getLocale(HttpServletRequest) - Method in interface org.clazzes.util.http.sec.HttpLoginService
-
This method has been introduce in a later version.
- getLocale(HttpServletRequest) - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
-
- getLocaleMatcher() - Static method in class org.clazzes.util.http.LocaleHelper
-
- getLoginLocale(HttpLoginService, HttpServletRequest) - Static method in class org.clazzes.util.http.sec.HttpCheckLoginHelper
-
Return the login locale of the given request.
- getLoginService(String) - Method in class org.clazzes.util.http.sec.HttpLoginServiceRegistry
-
- getLoginTimeZone(HttpLoginService, HttpServletRequest) - Static method in class org.clazzes.util.http.sec.HttpCheckLoginHelper
-
Return the login time zone of the given request.
- getLoginUrl() - Method in interface org.clazzes.util.http.sec.CheckLoginService
-
- getLoginUrl() - Method in interface org.clazzes.util.http.sec.HttpLoginService
-
Return an URL to web page, which authenticates the user,
usually using a form POST.
- getLoginUrl() - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
-
- getLoginUrl() - Method in exception org.clazzes.util.http.sec.LoginRequiredException
-
- getLongParameter(HttpServletRequest, String) - Static method in class org.clazzes.util.http.RequestHelper
-
Get the value of the servlet parameter
key
and parse it
using
Long.parseLong(String)
if a value for this servlet parameter
has been found.
- getLongParameter(Map<String, List<String>>, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the value of the query parameter
key
and parse it
using
Long.parseLong(String)
if a value for this query parameter
has been found.
- getLongParameter(String, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the value of the query parameter
key
and parse it
using
Long.parseLong(String)
if a value for this query parameter
has been found.
- getMaxAgeSeconds() - Method in class org.clazzes.util.http.ResourceServlet
-
- getMimeType(String) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
-
Tries to detect the mime type for the file name given.
- getMimeType(String) - Method in class org.clazzes.util.http.osgi.DefaultHttpContext
-
- getMimeTypeRegex() - Method in class org.clazzes.util.http.AdditionalHeader
-
- getMinCompressionSize() - Method in class org.clazzes.util.http.ResourceServlet
-
- getNocacheRegex() - Method in class org.clazzes.util.http.ResourceServlet
-
- getOriginalRequestUri(HttpServletRequest) - Static method in class org.clazzes.util.http.RequestHelper
-
Return the original request URI as seem by the client on a
best effort basis.
- getPageToken(HttpServletRequest) - Static method in class org.clazzes.util.http.sec.HttpCheckLoginHelper
-
Try to extract a page token from a request by either
the
"X-HTTP-util-page-token" HTTP header or the
value of the form parameter
"pageToken",
if the content type of the request is
application/x-www-form-urlencoded
.
- getPageToken(HttpServletRequest) - Method in interface org.clazzes.util.http.sec.PageTokenService
-
Generate a new page token and attach it to the authentication session.
- getPath(String) - Method in interface org.clazzes.util.http.PathGetter
-
Given some sort of a key (e.g. a jobId in the sense of sched-util), return a path as needed by
e.g. the DownloadServlet.
- getPath(String, HttpServletRequest) - Method in interface org.clazzes.util.http.PathGetterWithRequest
-
Method with an additional HttpServletRequest parameter, to allow for
privilege checks inside getPath.
- getPathRegex() - Method in class org.clazzes.util.http.AdditionalHeader
-
- getPostPlugins() - Method in class org.clazzes.util.http.ResourceServlet
-
- getProto() - Method in class org.clazzes.util.http.ForwardedInfo
-
- getPutOriginRegex() - Method in class org.clazzes.util.http.ResourceServlet
-
- getReadTimeout() - Method in class org.clazzes.util.http.ReverseProxyServlet
-
- getRealRemoteIP(HttpServletRequest) - Static method in class org.clazzes.util.http.RequestHelper
-
Get the remote IP address of the client taking the
X-Forwarded-for
header into account.
- getRedirects() - Method in class org.clazzes.util.http.ResourceServlet
-
- getRequestUrl(HttpServletRequest) - Static method in class org.clazzes.util.http.RequestHelper
-
The the request URL without host, port and protocol.
- getResolvedPath(HttpServletRequest) - Static method in class org.clazzes.util.http.RequestHelper
-
Get the server-side path which may have been resolved by a delegating
servlet.
- getResource(String) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
-
- getResource(String) - Method in class org.clazzes.util.http.osgi.DefaultHttpContext
-
- getResourceAsStream(String) - Method in class org.clazzes.util.http.ResourceServlet
-
This method returns the result of
ServletContext.getResourceAsStream(String)
if the
resource class loader is null
or otherwise
calls resourceClassLoader.getResourceAsStream()
.
- getResourceAsURL(String) - Method in class org.clazzes.util.http.ResourceServlet
-
This method returns the result of
ServletContext.getResource(String)
if the
resource class loader is null
or otherwise
calls resourceClassLoader.getResource()
.
- getResourceBundle() - Method in class org.clazzes.util.http.osgi.BasicHttpContext
-
- getResourceClassLoader() - Method in class org.clazzes.util.http.ResourceServlet
-
- getResourcePath() - Method in class org.clazzes.util.http.ResourceServlet
-
- getResourcePrefix() - Method in class org.clazzes.util.http.osgi.BasicHttpContext
-
- getResources() - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
-
- getServletConfig() - Method in class org.clazzes.util.http.osgi.ExceptionShadowingServlet
-
- getServletInfo() - Method in class org.clazzes.util.http.DownloadServlet
-
- getServletInfo() - Method in class org.clazzes.util.http.osgi.ExceptionShadowingServlet
-
- getServletInfo() - Method in class org.clazzes.util.http.ResourceServlet
-
- getServletInfo() - Method in class org.clazzes.util.http.ReverseProxyServlet
-
- getServlets() - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
-
- getStreamHandlerFactory() - Method in class org.clazzes.util.http.ReverseProxyServlet
-
- getStringParameter(Map<String, List<String>>, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the first string value given in the specified map of
query parameters.
- getStringParameter(String, String) - Static method in class org.clazzes.util.http.UrlHelper
-
Get the first string value given in the specified map of
query parameters.
- getTargetUrl() - Method in class org.clazzes.util.http.ReverseProxyServlet
-
- getTimeZone() - Method in interface org.clazzes.util.http.sec.CheckLoginService
-
- getTimeZone(HttpServletRequest) - Method in interface org.clazzes.util.http.sec.HttpLoginService
-
This method has been introduce in a later version.
- getTimeZone(HttpServletRequest) - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
-
- getUrl() - Method in class org.clazzes.util.http.URLHttpResource
-
- getValue() - Method in class org.clazzes.util.http.AdditionalHeader
-
- getValue() - Method in class org.clazzes.util.http.SingletonUrlParameterConsumer
-
- getWriteReplacement() - Method in class org.clazzes.util.http.ResourceServlet
-
- getWriteReplaceRegex() - Method in class org.clazzes.util.http.ResourceServlet
-
- PAGE_TOKEN_HEADER - Static variable in class org.clazzes.util.http.sec.HttpCheckLoginHelper
-
- PAGE_TOKEN_VARIABLE - Static variable in class org.clazzes.util.http.sec.HttpCheckLoginHelper
-
- PageTokenService - Interface in org.clazzes.util.http.sec
-
A service, which provides counter-XSRF page tokens to be checked
by POST requests.
- parseBasicAuthenticationHeader(HttpServletRequest) - Static method in class org.clazzes.util.http.RequestHelper
-
Parse the Authorization
request header and extract
HTTP basic authentication credentials.
- parseFirstForwarded(String) - Static method in class org.clazzes.util.http.RequestHelper
-
Parse a a new-style
RFC 7239 conforming
Forwarded
header and return the first reverse proxy info,
which reflects the original client's request.
- parseForwarded(List<ForwardedInfo>, String) - Static method in class org.clazzes.util.http.RequestHelper
-
Parse a a new-style
RFC 7239 conforming
Forwarded
header and append each reverse proxy info to
the given list of forwarded infos.
- parseQuery(String) - Static method in class org.clazzes.util.http.UrlHelper
-
Parse a given query string in application/x-www-form-urlencoded
format using UTF-8 encoding.
- parseQuery(String, UrlParameterConsumer) - Static method in class org.clazzes.util.http.UrlHelper
-
Parse a given query string in application/x-www-form-urlencoded
format using UTF-8 encoding.
- parseQuotedString(String, ParsePosition) - Static method in class org.clazzes.util.http.HeaderParser
-
Parse a quoted string as specified by
quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
qdtext = HTAB / SP /%x21 / %x23-5B / %x5D-7E / obs-text
obs-text = %x80-FF
quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
- parseToken(String, ParsePosition) - Static method in class org.clazzes.util.http.HeaderParser
-
Parse a token as specified by
token = 1*tchar
tchar = "!"
- parseTokenOrQuotedString(String, ParsePosition) - Static method in class org.clazzes.util.http.HeaderParser
-
Parse a token or a quoted string depending on whether the current character
is a double quote or not.
- PathGetter - Interface in org.clazzes.util.http
-
This interface is motivated by the need for a bridge between the job-ids sched-util deals with,
and paths needed by the DownloadServlet.
- PathGetterWithRequest - Interface in org.clazzes.util.http
-
This interface behaves exactly like interface org.clazzes.util.http.PathGetter,
except that here the getPath method takes a second parameter HttpServletRequest.
- propagateAdditionalHeaders(HttpServletResponse, String, String) - Method in class org.clazzes.util.http.AbstractResourceSerlvlet
-
Set matching additional headers on the given servlet response based on
the given resolved path and MIME tpye.
- pullConnection(Long) - Method in class org.clazzes.util.http.ReverseProxyServlet
-
- pushConnection(HttpURLConnection) - Method in class org.clazzes.util.http.ReverseProxyServlet
-