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

A

addWebResource(WebResourceImpl) - Method in class org.everit.osgi.webresource.internal.LibContainer
Adding a new WebResource to the container..
addWebResource(WebResourceImpl) - Method in class org.everit.osgi.webresource.internal.WebResourceContainerImpl
Adds a new WebResource to the container.

C

CAPABILITY_ATTRIBUTE_LIBRARY_PREFIX - Static variable in class org.everit.osgi.webresource.WebResourceConstants
Prefix of the library which the WebResources should be provided with.
CAPABILITY_ATTRIBUTE_RESOURCE_FOLDER - Static variable in class org.everit.osgi.webresource.WebResourceConstants
The folder in the bundle that contains the WebResources.
CAPABILITY_ATTRIBUTE_VERSION - Static variable in class org.everit.osgi.webresource.WebResourceConstants
The version of the WebResources that are provided by the capability.
CAPABILITY_NAMESPACE - Static variable in class org.everit.osgi.webresource.WebResourceConstants
Namespace of the WebResource capability.
cast(Object) - Static method in class org.everit.osgi.webresource.internal.WebResourceInternalUtil
Casting in the way that it is not a problem for findbugs yet it can throw a classcast exception.
CommonContextWebResourceURIGenerator - Class in org.everit.osgi.webresource.util
Implementation of WebResourceURIGenerator that expects having one or more WebResourceURIGenerator instances packed into a Collection, registered as ServletContext attribute.
CommonContextWebResourceURIGenerator(ServletContext) - Constructor for class org.everit.osgi.webresource.util.CommonContextWebResourceURIGenerator
 
ContentEncoding - Enum in org.everit.osgi.webresource
Content encodings that are supported by WebResource technology.
ContentTypeUtil - Class in org.everit.osgi.webresource.internal
Simple utility to derive the content type of a resource based on its extension and the built-in properties file of the module.

D

destroy() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
destroy() - Method in class org.everit.osgi.webresource.internal.WebResourceServlet
 
destroy() - Method in class org.everit.osgi.webresource.internal.WebResourceWebConsolePlugin
 

E

equals(Object) - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 

F

findWebResource(String, VersionRange) - Method in class org.everit.osgi.webresource.internal.LibContainer
Finds a WebResource within the Library.
findWebResource(String, String, Optional<String>) - Method in class org.everit.osgi.webresource.internal.WebResourceContainerImpl
 
findWebResource(String, String, Optional<String>) - Method in interface org.everit.osgi.webresource.WebResourceContainer
Finding a WebResource.
findWebResourceAndWriteResponse(WebResourceContainer, HttpServletRequest, HttpServletResponse) - Static method in class org.everit.osgi.webresource.util.WebResourceUtil
Finds the WebResource based on the pathInfo and writes it to the output stream of the response.

G

generateURI(String, String, Optional<String>) - Method in class org.everit.osgi.webresource.internal.WebResourceServletURIGenerator
 
generateURI(String, String, Optional<String>) - Method in class org.everit.osgi.webresource.util.CommonContextWebResourceURIGenerator
 
generateURI(String, String, Optional<String>) - Method in interface org.everit.osgi.webresource.WebResourceURIGenerator
Resolves the URI of a WebResource that can be inserted into an output (HTML, e-mail, etc).
getBundle() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getBundle() - Method in interface org.everit.osgi.webresource.WebResource
The bundle that offers the WebResource.
getCacheState() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getCacheState() - Method in interface org.everit.osgi.webresource.WebResource
After a WebResource is requested with a ContentEncoding, the content is cached in the memory.
getContentLength(ContentEncoding) - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getContentLength(ContentEncoding) - Method in interface org.everit.osgi.webresource.WebResource
The length of the content of the WebResource in the specific ContentEncoding.
getContentType() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getContentType() - Method in interface org.everit.osgi.webresource.WebResource
The content type of the WebResource.
getETag() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getETag() - Method in interface org.everit.osgi.webresource.WebResource
The calculated ETag of the WebResource that can be used to save bandwidth.
getFileName() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getFileName() - Method in interface org.everit.osgi.webresource.WebResource
The fileName of the WebResource.
getHeaderValue() - Method in enum org.everit.osgi.webresource.ContentEncoding
 
getInputStream(ContentEncoding, int) - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getInputStream(ContentEncoding, int) - Method in interface org.everit.osgi.webresource.WebResource
Creates a new InputStream to read the content of the WebResource.
getLastModified() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getLastModified() - Method in interface org.everit.osgi.webresource.WebResource
The date when the WebResource was last modified.
getLastModifiedRFC1123GMT() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getLastModifiedRFC1123GMT() - Method in interface org.everit.osgi.webresource.WebResource
The RFC1123 GMT representation of the value of WebResource.getLastModified().
getLibrary() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getLibrary() - Method in interface org.everit.osgi.webresource.WebResource
The name of the library of the WebResource.
getPathInfo() - Method in class org.everit.osgi.webresource.internal.WebconsoleHttpServletRequest
 
getRawLength() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getService(Bundle, ServiceRegistration<Servlet>) - Method in class org.everit.osgi.webresource.internal.WebResourceServletPrototypeServiceFactory
 
getServletConfig() - Method in class org.everit.osgi.webresource.internal.WebResourceServlet
 
getServletConfig() - Method in class org.everit.osgi.webresource.internal.WebResourceWebConsolePlugin
 
getServletInfo() - Method in class org.everit.osgi.webresource.internal.WebResourceServlet
 
getServletInfo() - Method in class org.everit.osgi.webresource.internal.WebResourceWebConsolePlugin
 
getUriGeneratorsOfServletContext(ServletContext) - Static method in class org.everit.osgi.webresource.util.WebResourceUtil
Retrieves the WebResourceURIGenerator queue from the specified ServletContext or if it is not registered yet, registers an empty one.
getVersion() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
getVersion() - Method in interface org.everit.osgi.webresource.WebResource
The exact version of the WebResource.

H

hashCode() - Method in class org.everit.osgi.webresource.internal.WebResourceImpl
 
HTTP_NOT_FOUND - Static variable in class org.everit.osgi.webresource.WebResourceConstants
 

I

init(ServletConfig) - Method in class org.everit.osgi.webresource.internal.WebResourceServlet
 
init(ServletConfig) - Method in class org.everit.osgi.webresource.internal.WebResourceWebConsolePlugin
 
isAsyncSupported() - Method in class org.everit.osgi.webresource.internal.WebconsoleHttpServletRequest
 
isEmpty() - Method in class org.everit.osgi.webresource.internal.LibContainer
 

L

LibContainer - Class in org.everit.osgi.webresource.internal
Internal container class that holds the currently managed WebResources for a library.
LibContainer() - Constructor for class org.everit.osgi.webresource.internal.LibContainer
 

M

MIME_TYPE_UNKNOWN - Static variable in class org.everit.osgi.webresource.WebResourceConstants
Name of the unknown mime type.

O

org.everit.osgi.webresource - package org.everit.osgi.webresource
 
org.everit.osgi.webresource.internal - package org.everit.osgi.webresource.internal
 
org.everit.osgi.webresource.util - package org.everit.osgi.webresource.util
 

R

removeBundle(Bundle) - Method in class org.everit.osgi.webresource.internal.WebResourceContainerImpl
Removing all of the WebResources that belong to a specific Bundle from the container.
removeWebResource(WebResource) - Method in class org.everit.osgi.webresource.internal.LibContainer
Removes a WebResource from the library container.
REQUEST_PARAM_VERSION_RANGE - Static variable in class org.everit.osgi.webresource.WebResourceConstants
Name of version range parameter on webconsole.
resolveContentType(URL) - Static method in class org.everit.osgi.webresource.internal.ContentTypeUtil
Resolve the content type of the file that is available on the URL.
resolveEncoding(HttpServletRequest) - Static method in enum org.everit.osgi.webresource.ContentEncoding
Resolves the best supported content encoding from the request.

S

service(ServletRequest, ServletResponse) - Method in class org.everit.osgi.webresource.internal.WebResourceServlet
 
service(ServletRequest, ServletResponse) - Method in class org.everit.osgi.webresource.internal.WebResourceWebConsolePlugin
 
start(BundleContext) - Method in class org.everit.osgi.webresource.internal.WebResourceExtender
 
stop(BundleContext) - Method in class org.everit.osgi.webresource.internal.WebResourceExtender
 

U

ungetService(Bundle, ServiceRegistration<Servlet>, Servlet) - Method in class org.everit.osgi.webresource.internal.WebResourceServletPrototypeServiceFactory
 

V

valueOf(String) - Static method in enum org.everit.osgi.webresource.ContentEncoding
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.everit.osgi.webresource.ContentEncoding
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebconsoleHttpServletRequest - Class in org.everit.osgi.webresource.internal
Wraps the original HttpServletRequest to make it work within the webconsole plugin.
WebconsoleHttpServletRequest(HttpServletRequest) - Constructor for class org.everit.osgi.webresource.internal.WebconsoleHttpServletRequest
 
WebResource - Interface in org.everit.osgi.webresource
A WebResource is a file that is accessible for everyone can access.
WebResourceConstants - Class in org.everit.osgi.webresource
Constants to help the usage of the webresource library.
WebResourceContainer - Interface in org.everit.osgi.webresource
Finding WebResources is possible via the WebResourceContainer interface that is also registered as an OSGi service.
WebResourceContainerImpl - Class in org.everit.osgi.webresource.internal
The container that manages all the libraries and WebResources.
WebResourceContainerImpl() - Constructor for class org.everit.osgi.webresource.internal.WebResourceContainerImpl
 
WebResourceExtender - Class in org.everit.osgi.webresource.internal
The extender tracks all of the bundles and process them if they offer the WebResourceConstants.CAPABILITY_NAMESPACE capability.
WebResourceExtender() - Constructor for class org.everit.osgi.webresource.internal.WebResourceExtender
 
WebResourceImpl - Class in org.everit.osgi.webresource.internal
Implementation of WebResource interface.
WebResourceImpl(Bundle, String, String, URL, Version, String) - Constructor for class org.everit.osgi.webresource.internal.WebResourceImpl
Constructor.
WebResourceInternalUtil - Class in org.everit.osgi.webresource.internal
Utility functions for internal usage.
WebResourceServlet - Class in org.everit.osgi.webresource.internal
A Servlet that can serve WebResources and is registered as an OSGi service.
WebResourceServlet(WebResourceContainer) - Constructor for class org.everit.osgi.webresource.internal.WebResourceServlet
 
WebResourceServletPrototypeServiceFactory - Class in org.everit.osgi.webresource.internal
PrototypeServiceFactory for WebResourceServlet.
WebResourceServletPrototypeServiceFactory(WebResourceContainer) - Constructor for class org.everit.osgi.webresource.internal.WebResourceServletPrototypeServiceFactory
 
WebResourceServletURIGenerator - Class in org.everit.osgi.webresource.internal
Simple URI generator for WebResourceServlet.
WebResourceServletURIGenerator(WebResourceContainer, String, String) - Constructor for class org.everit.osgi.webresource.internal.WebResourceServletURIGenerator
Constructor.
WebResourceURIGenerator - Interface in org.everit.osgi.webresource
Standard interface to generate URI for WebResources that can be used on websites, e-mails, etc.
WebResourceUtil - Class in org.everit.osgi.webresource.util
Internal class that holds a WebResourceContainer and give utility methods to process WebResource requests.
WebResourceWebConsolePlugin - Class in org.everit.osgi.webresource.internal
Webconsole plugin that shows all available webresources and cache data.
WebResourceWebConsolePlugin(WebResourceContainerImpl, WebResourceContainer) - Constructor for class org.everit.osgi.webresource.internal.WebResourceWebConsolePlugin
 
writeWebResourceToResponse(WebResource, HttpServletRequest, HttpServletResponse) - Static method in class org.everit.osgi.webresource.util.WebResourceUtil
Writes a WebResource to the response stream, asynchronously if it is supported.
A C D E F G H I L M O R S U V W 
Skip navigation links

Copyright © 2011–2015 Everit Kft.. All rights reserved.