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.
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.
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(HttpServletRequest) - Method in interface org.clazzes.util.http.sec.HttpLoginService
Get the principal associated with the HTTP session of the given request.
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.
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

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
 
getExcludeMimeTypes() - Method in class org.clazzes.util.http.ResourceServlet
 
getExtensionMimeTypes() - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
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.HttpLoginService
Return an URL to web page, which authenticates the user, usually using a form POST.
getMaxAgeSeconds() - Method in class org.clazzes.util.http.ResourceServlet
 
getMimeType(String) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
getMinCompressionSize() - Method in class org.clazzes.util.http.ResourceServlet
 
getNocacheRegex() - Method in class org.clazzes.util.http.ResourceServlet
 
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
 
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
 
getServlets() - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 

H

handleSecurity(HttpServletRequest, HttpServletResponse) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
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
 
isCompressed(OutputStream) - Static method in class org.clazzes.util.http.CompressionHelper
 

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.
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(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.

R

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
 

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.
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
 
setExcludeMimeTypes(Set<String>) - Method in class org.clazzes.util.http.ResourceServlet
 
setExtensionMimeTypes(Map<String, String>) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
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
 
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
 
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 start with a '/' sign.
setResourceBundle(Bundle) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
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
 
setServlets(Map<String, Servlet>) - Method in class org.clazzes.util.http.osgi.HttpServiceRegistrationListener
 
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.

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 © 2011. All Rights Reserved.