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

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.

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

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
 

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
 
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
 
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.
getMimeType(String) - Method in class org.clazzes.util.http.osgi.BasicHttpContext
 
getMinCompressionSize() - 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.
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
 
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
 

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
 

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
 
setAliases(Map<String, String>) - Method in class org.clazzes.util.http.ResourceServlet
 
setBufferSize(int) - 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
 
setMinCompressionSize(int) - 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.

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

Copyright © 2011. All Rights Reserved.