Skip navigation links
A B C D E F G H I L M O P R S T U W 

A

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.

B

BasicHttpContext - Class in org.clazzes.util.http.osgi
A HttpContext implementation with an extension to MIME type mapping and resources received from a specified bundle, which is usually injected using blueprint.
BasicHttpContext() - Constructor for class org.clazzes.util.http.osgi.BasicHttpContext
 

C

checkLogin() - Method in interface org.clazzes.util.http.sec.CheckLoginService
 
checkLogin(HttpLoginService, HttpServletRequest, HttpServletResponse) - Static method in class org.clazzes.util.http.sec.HttpCheckLoginHelper
Call HttpLoginService.checkLogin(HttpServletRequest) and write a HTTP unauthorized status (401) with the login URL contained in the response header "X-HTTP-util-login-url", if no user is logged in.
checkLogin(HttpLoginService, PageTokenService, HttpServletRequest, HttpServletResponse) - Static method in class org.clazzes.util.http.sec.HttpCheckLoginHelper
Performs the following steps to authenticate an HTTP request: Check the request for a "X-HTTP-util-page-token" header.
checkLogin(HttpLoginService, PageTokenService, String, HttpServletRequest, HttpServletResponse) - Static method in class org.clazzes.util.http.sec.HttpCheckLoginHelper
Performs the following steps to authenticate an HTTP request: Check the caller-extracted page token using PageTokenService.checkPageToken(HttpServletRequest, String) Call HttpLoginService.checkLogin(HttpServletRequest) to check for a user being logged in.
checkLogin(HttpServletRequest) - Method in interface org.clazzes.util.http.sec.HttpLoginService
Get the principal associated with the HTTP session of the given request.
checkLogin(HttpServletRequest) - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
 
checkLoginGroups(HttpServletRequest) - Method in interface org.clazzes.util.http.sec.HttpLoginService
 
checkLoginGroups(HttpServletRequest) - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
 
CheckLoginService - Interface in org.clazzes.util.http.sec
A base interface for remote services to check for logged in persons.
checkPageToken(HttpServletRequest, String) - Method in interface org.clazzes.util.http.sec.PageTokenService
Check a page token against the authentication session.
checkPermission(String) - Method in interface org.clazzes.util.http.sec.CheckLoginService
Check the permission of the logged in user on the given context URL.
checkPermission(HttpLoginService, HttpServletRequest, HttpServletResponse) - Static method in class org.clazzes.util.http.sec.HttpCheckLoginHelper
Call HttpLoginService.checkPermission(HttpServletRequest, String) on a context URL composed from the request URL without server and protocol.
checkPermission(HttpServletRequest, String) - Method in interface org.clazzes.util.http.sec.HttpLoginService
Check, whether the authenticated user of the given HttpServletRequest has permissions on the given context.
checkPermission(HttpServletRequest, String) - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
 
clearResourceInfos() - Method in class org.clazzes.util.http.ResourceServlet
Clear all cached checksums for delivering ETags.
close() - Method in class org.clazzes.util.http.InputStreamHttpResource
 
close() - Method in class org.clazzes.util.http.URLHttpResource
 
CompressionHelper - Class in org.clazzes.util.http
This class provides static functionality for handling compression algorithms controlled through the Content-Coding header field.
CompressionHelper() - Constructor for class org.clazzes.util.http.CompressionHelper
 

D

decodeUtf8(String) - Static method in class org.clazzes.util.http.UrlHelper
Decodes a application/x-www-form-urlencoded string using UTF-8 encoding as stated in the World Wide Web Consortium Recommendation.
DEFAULT_SUPPORTED_ENCODINGS - Static variable in class org.clazzes.util.http.CompressionHelper
A default set of supported encodings.
DefaultHttpContext - Class in org.clazzes.util.http.osgi
A default HTTP context, which my be shared among bundles using the static instance returned by getInstance().
DefaultHttpContext() - Constructor for class org.clazzes.util.http.osgi.DefaultHttpContext
 
describeRequest(ServletRequest) - Static method in class org.clazzes.util.http.RequestHelper
Return a string describing a servlet request for logging purposes.
destroy() - Method in class org.clazzes.util.http.osgi.ExceptionShadowingServlet
 
destroy() - Method in class org.clazzes.util.http.ReverseProxyServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.DownloadServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.ResourceServlet
 
doOptions(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.ResourceServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.ResourceServlet
 
doPut(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.ResourceServlet
 
DownloadServlet - Class in org.clazzes.util.http
Servlet for downloading a HttpResource (e.g. a file) given some path.
DownloadServlet() - Constructor for class org.clazzes.util.http.DownloadServlet
 

E

ENABLE_COMPRESSION_PROPERTY - Static variable in class org.clazzes.util.http.CompressionHelper
The system property determining the default value for the CompressionHelper.isEnablecompression() property.
encodeUtf8(String) - Static method in class org.clazzes.util.http.UrlHelper
Translates a string into application/x-www-form-urlencoded format using UTF-8 encoding as stated in the World Wide Web Consortium Recommendation.
ExceptionShadowingServlet - Class in org.clazzes.util.http.osgi
A servlet, which hides stack traces from the the servlet container and avoid the exposure of full stack traces to clients.
ExceptionShadowingServlet(Servlet) - Constructor for class org.clazzes.util.http.osgi.ExceptionShadowingServlet
 
expectSeparator(String, ParsePosition, char, boolean) - Static method in class org.clazzes.util.http.HeaderParser
Check for a separator or end of string.
expectSeparator(String, ParsePosition, String, boolean) - Static method in class org.clazzes.util.http.HeaderParser
Check for one of the given separator characters or end of string.

F

FileResourceResolver - Class in org.clazzes.util.http
 
FileResourceResolver() - Constructor for class org.clazzes.util.http.FileResourceResolver
 
finishOutputStream(OutputStream) - Static method in class org.clazzes.util.http.CompressionHelper
Finish writing to a possibly compressed servlet output stream.
ForwardedInfo - Class in org.clazzes.util.http
Forwarded information added by a single reverse proxy to the request headers either by Forwarded or X-Forwarded-* headers.
ForwardedInfo() - Constructor for class org.clazzes.util.http.ForwardedInfo
 

G

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
 

H

handleSecurity(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
handleSecurity(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.osgi.DefaultHttpContext
 
HeaderParser - Class in org.clazzes.util.http
Static helper function for parsing headers with BANF tokens and quoted strings as of Section 3.2.6 of RFC 7230.
HeaderParser() - Constructor for class org.clazzes.util.http.HeaderParser
 
HIDE_STACK_TRACES_PROPERTY - Static variable in class org.clazzes.util.http.ResponseHelper
The system property determining the default value for the ResponseHelper.isHideStackTraces() property.
HttpCheckLoginHelper - Class in org.clazzes.util.http.sec
A static helper for servlets, which perform access checks on behalf of a HttpLoginService.
HttpCheckLoginHelper() - Constructor for class org.clazzes.util.http.sec.HttpCheckLoginHelper
 
HttpLoginService - Interface in org.clazzes.util.http.sec
An interface, which provides a login facility to an application.
HttpLoginServiceRegistry - Class in org.clazzes.util.http.sec
This class may be used as a service listener, which keeps track of all registered HttpLoginService instance.
HttpLoginServiceRegistry() - Constructor for class org.clazzes.util.http.sec.HttpLoginServiceRegistry
 
HttpLoginServiceSupport - Class in org.clazzes.util.http.sec
A login service, which delegates to a configured delegate login service.
HttpLoginServiceSupport() - Constructor for class org.clazzes.util.http.sec.HttpLoginServiceSupport
 
HttpResource - Interface in org.clazzes.util.http
A static resource to be delivered to the client by our ResourceServlet.
HttpResourceResolver - Interface in org.clazzes.util.http
A resolver for HttpResource instances to be delivered.
httpServiceBound(HttpService) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
The registration callback, which is called when the HttpService becomes available.
HttpServiceRegistrationListener - Class in org.clazzes.util.http.osgi
This class acts as a registration listener for the OSGi HttpServer and is used to export resources and servlets on the supplied http service.
HttpServiceRegistrationListener() - Constructor for class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
httpServiceUnbound(HttpService) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
The deregistration callback, which is called when the HttpService gets out of service.

I

init() - Method in class org.clazzes.util.http.AbstractResourceSerlvlet
 
init(ServletConfig) - Method in class org.clazzes.util.http.osgi.ExceptionShadowingServlet
 
init() - Method in class org.clazzes.util.http.ResourceServlet
 
init() - Method in class org.clazzes.util.http.ReverseProxyServlet
 
InputStreamHttpResource - Class in org.clazzes.util.http
A resource to be delivered, which is represented by an ordinary input stream.
InputStreamHttpResource(InputStream, int) - Constructor for class org.clazzes.util.http.InputStreamHttpResource
construct a resource from a given input stream and a given buffer size for copying the stream to an output stream.
InputStreamHttpResource(InputStream) - Constructor for class org.clazzes.util.http.InputStreamHttpResource
construct a resource from a given input stream and a default buffer size of 16384 for copying the stream to an output stream.
isCompressed(OutputStream) - Static method in class org.clazzes.util.http.CompressionHelper
 
isEnablecompression() - Static method in class org.clazzes.util.http.CompressionHelper
 
isHideStackTraces() - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
isHideStackTraces() - Static method in class org.clazzes.util.http.ResponseHelper
 
isNoETags() - Method in class org.clazzes.util.http.ResourceServlet
 
isReusable() - Method in interface org.clazzes.util.http.HttpResource
 
isReusable() - Method in class org.clazzes.util.http.InputStreamHttpResource
 
isReusable() - Method in class org.clazzes.util.http.URLHttpResource
 
isRewriteLocations() - Method in class org.clazzes.util.http.ReverseProxyServlet
 
isRootContext() - Method in class org.clazzes.util.http.ResourceServlet
 
isTokenChar(char) - Static method in class org.clazzes.util.http.HeaderParser
 
isUpdateable() - Method in interface org.clazzes.util.http.HttpResource
 
isUpdateable() - Method in class org.clazzes.util.http.InputStreamHttpResource
 
isUpdateable() - Method in class org.clazzes.util.http.URLHttpResource
 

L

localeFromXsLanguage(String) - Static method in class org.clazzes.util.http.LocaleHelper
Convert an XML schema language to a java locale.
LocaleHelper - Class in org.clazzes.util.http
This class provides static functionality for handling locales.
LocaleHelper() - Constructor for class org.clazzes.util.http.LocaleHelper
 
LOGIN_MECHANISM_KEY - Static variable in interface org.clazzes.util.http.sec.HttpLoginService
The name of the OSGi property, which defines the login method.
LOGIN_URL_HEADER - Static variable in class org.clazzes.util.http.sec.HttpCheckLoginHelper
 
LoginRequiredException - Exception in org.clazzes.util.http.sec
An exception thrown, whenever a user is not logged in and a login URL should be propagated to the web application.
LoginRequiredException() - Constructor for exception org.clazzes.util.http.sec.LoginRequiredException
Default constructor for the sake of GWT deserialization code.
LoginRequiredException(String) - Constructor for exception org.clazzes.util.http.sec.LoginRequiredException
 
LoginRequiredException(String, String) - Constructor for exception org.clazzes.util.http.sec.LoginRequiredException
 
loginServiceBound(HttpLoginService, Map<String, String>) - Method in class org.clazzes.util.http.sec.HttpLoginServiceRegistry
An OSGi bind-method for a HttpLoginService.
loginServiceUnbound(HttpLoginService, Map<String, String>) - Method in class org.clazzes.util.http.sec.HttpLoginServiceRegistry
An OSGi unbind-method for a HttpLoginService.
logout() - Method in interface org.clazzes.util.http.sec.CheckLoginService
Remove all login properties from the HTTP session and log the user out.
logout(HttpServletRequest) - Method in interface org.clazzes.util.http.sec.HttpLoginService
Remove all attributes generated during a login process from the HTTP session of the given request.
logout(HttpServletRequest) - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
 

M

makeCORStag(HttpServletRequest, String, String) - Method in class org.clazzes.util.http.ResourceServlet
 
makeDigest(MessageDigest) - Method in interface org.clazzes.util.http.HttpResource
 
makeDigest(MessageDigest) - Method in class org.clazzes.util.http.InputStreamHttpResource
 
makeDigest(MessageDigest) - Method in class org.clazzes.util.http.URLHttpResource
 
matchItem(String, String) - Method in interface org.clazzes.util.http.AcceptMatcher
Match a server-provided item against a client-accepted item and return a match quality.
maybeCallPlugin(String, String, Map<String, Servlet>, HttpServletRequest, HttpServletResponse) - Static method in class org.clazzes.util.http.ResourceServlet
Call a plugin based on the extension of the resolved path.
MIME_TYPES_PROPERTY - Static variable in class org.clazzes.util.http.osgi.DefaultHttpContext
The system property to check for an alternative mime.types file to parse instead of the built-in classpath resource.

O

org.clazzes.util.http - package org.clazzes.util.http
 
org.clazzes.util.http.osgi - package org.clazzes.util.http.osgi
 
org.clazzes.util.http.sec - package org.clazzes.util.http.sec
 

P

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
 

R

readFromStream(InputStream) - Method in interface org.clazzes.util.http.HttpResource
Update this resource from a stream.
readFromStream(InputStream) - Method in class org.clazzes.util.http.InputStreamHttpResource
 
readFromStream(InputStream) - Method in class org.clazzes.util.http.URLHttpResource
 
removeResourceInfo(String) - Method in class org.clazzes.util.http.ResourceServlet
Delete a cached checksum for delivering ETags.
RequestHelper - Class in org.clazzes.util.http
Static helper function for extracting special information from requests.
RequestHelper() - Constructor for class org.clazzes.util.http.RequestHelper
 
resolvePath(String) - Method in class org.clazzes.util.http.ResourceServlet
Resolve a path using the configured list of aliases.
resolveResource(String, int) - Method in class org.clazzes.util.http.FileResourceResolver
 
resolveResource(String, int) - Method in interface org.clazzes.util.http.HttpResourceResolver
 
resolveResource(String, int) - Method in class org.clazzes.util.http.ResourceServlet
 
ResourceServlet - Class in org.clazzes.util.http
A servlet, which exports parts of the ServletContext's resources or resources from the classloader configured via ResourceServlet.setResourceClassLoader(ClassLoader) or ResourceServlet.setResourceClassLoaderHint(Object) as http resources with configuration options on which items should be delivered in compressed form.
ResourceServlet() - Constructor for class org.clazzes.util.http.ResourceServlet
 
ResponseHelper - Class in org.clazzes.util.http
Static helper functions for frequently needed additions to HTTP responses.
ResponseHelper() - Constructor for class org.clazzes.util.http.ResponseHelper
 
ReverseProxyServlet - Class in org.clazzes.util.http
A servlet, which acts as a reverse proxy.
ReverseProxyServlet() - Constructor for class org.clazzes.util.http.ReverseProxyServlet
 

S

selectAcceptItem(String, String[]) - Static method in class org.clazzes.util.http.AcceptHelper
Evaluate an Accept-* header and match it against a list of supported server-side items based on exact string matching.
selectAcceptItem(String, String[], AcceptMatcher) - Static method in class org.clazzes.util.http.AcceptHelper
Evaluate an Accept-* header and match it against a list of supported server-side items.
selectCompressionCoding(String, String[]) - Static method in class org.clazzes.util.http.CompressionHelper
 
selectLocale(String, String[]) - Static method in class org.clazzes.util.http.LocaleHelper
 
sendBasicAuthenticationRequired(HttpServletResponse, String) - Static method in class org.clazzes.util.http.ResponseHelper
Send an WWW-Authenticate: Basic realm="<realm>" header and and authorization required body to the servlet response in order to tell the client to send a basic authorization header.
sendError(HttpServletResponse, OutputStream, int, String) - Static method in class org.clazzes.util.http.CompressionHelper
Write an error response to the servlet output stream.
sendError(HttpServletResponse, OutputStream, int, String, Throwable) - Static method in class org.clazzes.util.http.CompressionHelper
Write an error response to the servlet output stream.
sendLoginRequired(HttpServletResponse, String) - Static method in class org.clazzes.util.http.sec.HttpCheckLoginHelper
Write a HTTP unauthorized status (401) with the login URL contained in the response header "X-HTTP-util-login-url" as response to the client.
service(ServletRequest, ServletResponse) - Method in class org.clazzes.util.http.osgi.ExceptionShadowingServlet
 
service(ServletRequest, ServletResponse) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
setAdditionalHeaders(List<AdditionalHeader>) - Method in class org.clazzes.util.http.AbstractResourceSerlvlet
 
setAliases(Map<String, String>) - Method in class org.clazzes.util.http.ResourceServlet
 
setBufferSize(Integer) - Method in class org.clazzes.util.http.DownloadServlet
 
setBufferSize(int) - Method in class org.clazzes.util.http.ResourceServlet
 
setBy(String) - Method in class org.clazzes.util.http.ForwardedInfo
 
setCacheRegex(Pattern) - Method in class org.clazzes.util.http.ResourceServlet
 
setClient(String) - Method in class org.clazzes.util.http.ForwardedInfo
 
setConnectTimeout(int) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
setDelegate(HttpLoginService) - Method in class org.clazzes.util.http.sec.HttpLoginServiceSupport
 
setDelegateResolver(HttpResourceResolver) - Method in class org.clazzes.util.http.ResourceServlet
 
setDirName(String) - Method in class org.clazzes.util.http.FileResourceResolver
 
setExcludeMimeTypes(Set<String>) - Method in class org.clazzes.util.http.ResourceServlet
 
setExtensionMimeTypes(Map<String, String>) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
setGetPlugins(Map<String, Servlet>) - Method in class org.clazzes.util.http.ResourceServlet
 
setHeader(String) - Method in class org.clazzes.util.http.AdditionalHeader
 
setHideStackTraces(boolean) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
setHost(String) - Method in class org.clazzes.util.http.ForwardedInfo
 
setHttpContext(HttpContext) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
setHttpLoginService(HttpLoginService) - Method in class org.clazzes.util.http.DownloadServlet
 
setInitparams(Dictionary<String, String>) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
setMaxAgeSeconds(int) - Method in class org.clazzes.util.http.DownloadServlet
 
setMaxAgeSeconds(int) - Method in class org.clazzes.util.http.ResourceServlet
 
setMimeTypeRegex(Pattern) - Method in class org.clazzes.util.http.AdditionalHeader
 
setMinCompressionSize(int) - Method in class org.clazzes.util.http.ResourceServlet
 
setNoCacheHeaders(HttpServletResponse) - Static method in class org.clazzes.util.http.ResponseHelper
Set the following HTTP headers fields in order to mark the servlet's output as purely dynamic content not to be cached by any browser.
setNocacheRegex(Pattern) - Method in class org.clazzes.util.http.ResourceServlet
 
setNoETags(boolean) - Method in class org.clazzes.util.http.ResourceServlet
 
setPathGetter(PathGetter) - Method in class org.clazzes.util.http.DownloadServlet
 
setPathGetterWithRequest(PathGetterWithRequest) - Method in class org.clazzes.util.http.DownloadServlet
 
setPathRegex(Pattern) - Method in class org.clazzes.util.http.AdditionalHeader
 
setPostPlugins(Map<String, Servlet>) - Method in class org.clazzes.util.http.ResourceServlet
 
setProto(String) - Method in class org.clazzes.util.http.ForwardedInfo
 
setPutOriginRegex(Pattern) - Method in class org.clazzes.util.http.ResourceServlet
 
setReadTimeout(int) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
setRedirects(Map<String, String>) - Method in class org.clazzes.util.http.ResourceServlet
The keys of this map are path infos like returned by HttpServletRequest.getPathInfo(), which starts with a '/' sign.
setResolvedPath(HttpServletRequest, String) - Static method in class org.clazzes.util.http.RequestHelper
 
setResourceBundle(Bundle) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
setResourceClassLoader(ClassLoader) - Method in class org.clazzes.util.http.ResourceServlet
 
setResourceClassLoaderHint(Object) - Method in class org.clazzes.util.http.ResourceServlet
Set the resource class loader according to the given hint object.
setResourcePath(String) - Method in class org.clazzes.util.http.ResourceServlet
 
setResourcePrefix(String) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
setResourceResolver(HttpResourceResolver) - Method in class org.clazzes.util.http.DownloadServlet
 
setResources(Map<String, String>) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
setRewriteLocations(boolean) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
setRootContext(boolean) - Method in class org.clazzes.util.http.ResourceServlet
This configuration option is needed, because servlet container are not consistently reporting requests to the root context.
setServlets(Map<String, Servlet>) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
setStreamHandlerFactory(URLStreamHandlerFactory) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
setTargetUrl(URL) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
setupResponseOutputStream(HttpServletRequest, HttpServletResponse) - Static method in class org.clazzes.util.http.CompressionHelper
Parse the Accept-Encoding header of the request and set up a possibly compressed output stream to write to.
setValue(String) - Method in class org.clazzes.util.http.AdditionalHeader
 
setWritePlacement(String, String) - Method in class org.clazzes.util.http.URLHttpResource
Configure a file name mapping for writing.
setWriteReplacement(String) - Method in class org.clazzes.util.http.ResourceServlet
 
setWriteReplaceRegex(String) - Method in class org.clazzes.util.http.ResourceServlet
 
SingletonUrlParameterConsumer - Class in org.clazzes.util.http
A consumer to extract a single parameter from a query string.
SingletonUrlParameterConsumer(String) - Constructor for class org.clazzes.util.http.SingletonUrlParameterConsumer
 
skipWhite(String, ParsePosition) - Static method in class org.clazzes.util.http.HeaderParser
Skip whit space in a string.

T

TOKEN_CHARS - Static variable in class org.clazzes.util.http.HeaderParser
Eligible token characters.
toString() - Method in class org.clazzes.util.http.ForwardedInfo
 
toXsLanguage(Locale) - Static method in class org.clazzes.util.http.LocaleHelper
Convert a java locale to an XML schema language.

U

UrlHelper - Class in org.clazzes.util.http
Static helpers for manipulating URLs and URIs.
UrlHelper() - Constructor for class org.clazzes.util.http.UrlHelper
 
URLHttpResource - Class in org.clazzes.util.http
A resource to be delivered, which is represented by an URL.
URLHttpResource(URL, int) - Constructor for class org.clazzes.util.http.URLHttpResource
construct a resource from a given input stream and a given buffer size for copying the stream to an output stream.
URLHttpResource(URL) - Constructor for class org.clazzes.util.http.URLHttpResource
construct a resource from a given input stream and a default buffer size of 16384 for copying the stream to an output stream.
UrlParameterConsumer - Interface in org.clazzes.util.http
An interface for receiving parsed query parameters through UrlHelper.
UTF_8 - Static variable in class org.clazzes.util.http.UrlHelper
The name of the UTF-8 encoding for Charset.forName(String).

W

writeToStream(OutputStream) - Method in interface org.clazzes.util.http.HttpResource
Copy the resource to an output stream.
writeToStream(OutputStream) - Method in class org.clazzes.util.http.InputStreamHttpResource
 
writeToStream(OutputStream) - Method in class org.clazzes.util.http.URLHttpResource
 
A B C D E F G H I L M O P R S T U W 
Skip navigation links

Copyright © 2018 Clazzes.org. All rights reserved.