A B C D E F G H I L M O P R S U

A

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.ResourceServlet
 
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.
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
 
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(HttpServletRequest) - Method in interface org.clazzes.util.http.sec.HttpLoginService
Get the principal associated with the HTTP session of the given request.
CheckLoginService - Interface in org.clazzes.util.http.sec
A base interface for remote services to check for logged in persons.
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.
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.
destroy() - Method in class org.clazzes.util.http.ReverseProxyServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.ResourceServlet
 

E

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.

F

finishOutputStream(OutputStream) - Static method in class org.clazzes.util.http.CompressionHelper
Finish writing to a possibly compressed servlet output stream.

G

getAdditionalHeaders() - Method in class org.clazzes.util.http.ResourceServlet
 
getAliases() - Method in class org.clazzes.util.http.ResourceServlet
 
getBufferSize() - Method in class org.clazzes.util.http.ResourceServlet
 
getCacheRegex() - Method in class org.clazzes.util.http.ResourceServlet
 
getConnectTimeout() - Method in class org.clazzes.util.http.ReverseProxyServlet
 
getExcludeMimeTypes() - Method in class org.clazzes.util.http.ResourceServlet
 
getExtensionMimeTypes() - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
getHeader() - Method in class org.clazzes.util.http.AdditionalHeader
 
getHttpContext() - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
getInitparams() - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
getLocaleMatcher() - Static method in class org.clazzes.util.http.LocaleHelper
 
getLoginService(String) - Method in class org.clazzes.util.http.sec.HttpLoginServiceRegistry
 
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 exception org.clazzes.util.http.sec.LoginRequiredException
 
getMaxAgeSeconds() - Method in class org.clazzes.util.http.ResourceServlet
 
getMimeType(String) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
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
 
getPathRegex() - Method in class org.clazzes.util.http.AdditionalHeader
 
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
 
getResource(String) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
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
 
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
 
getTargetUrl() - Method in class org.clazzes.util.http.ReverseProxyServlet
 
getValue() - Method in class org.clazzes.util.http.AdditionalHeader
 

H

handleSecurity(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
HttpCheckLoginHelper - Class in org.clazzes.util.http.sec
A static helper for serlvets, 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
 
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.ResourceServlet
 
init() - Method in class org.clazzes.util.http.ReverseProxyServlet
 
isCompressed(OutputStream) - Static method in class org.clazzes.util.http.CompressionHelper
 
isNoETags() - Method in class org.clazzes.util.http.ResourceServlet
 
isRewriteLocations() - Method in class org.clazzes.util.http.ReverseProxyServlet
 

L

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.

M

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.

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

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.
pullConnection(Long) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
pushConnection(HttpURLConnection) - Method in class org.clazzes.util.http.ReverseProxyServlet
 

R

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
 
ResourceServlet - Class in org.clazzes.util.http
A servlet, which exports parts of the ServletContext's resources 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
 
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.ReverseProxyServlet
 
setAdditionalHeaders(List<AdditionalHeader>) - Method in class org.clazzes.util.http.ResourceServlet
 
setAliases(Map<String, String>) - Method in class org.clazzes.util.http.ResourceServlet
 
setBufferSize(int) - Method in class org.clazzes.util.http.ResourceServlet
 
setCacheRegex(Pattern) - Method in class org.clazzes.util.http.ResourceServlet
 
setConnectTimeout(int) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
setExcludeMimeTypes(Set<String>) - Method in class org.clazzes.util.http.ResourceServlet
 
setExtensionMimeTypes(Map<String, String>) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
setHeader(String) - Method in class org.clazzes.util.http.AdditionalHeader
 
setHttpContext(HttpContext) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
setInitparams(Dictionary<String, String>) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
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
 
setPathRegex(Pattern) - Method in class org.clazzes.util.http.AdditionalHeader
 
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.
setResourceBundle(Bundle) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
setResourceClassLoader(ClassLoader) - Method in class org.clazzes.util.http.ResourceServlet
 
setResourcePath(String) - Method in class org.clazzes.util.http.ResourceServlet
 
setResourcePrefix(String) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
setResources(Map<String, String>) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
setRewriteLocations(boolean) - Method in class org.clazzes.util.http.ReverseProxyServlet
 
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
 

U

UrlHelper - Class in org.clazzes.util.http
Static helpers for manipulating URLs and URIs.
UrlHelper() - Constructor for class org.clazzes.util.http.UrlHelper
 
UTF_8 - Static variable in class org.clazzes.util.http.UrlHelper
The name of the UTF-8 encoding for Charset.forName(String).

A B C D E F G H I L M O P R S U

Copyright © 2012. All Rights Reserved.