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

A

Activator - Class in org.apache.felix.httplite.osgi
Activator for org.apache.felix.http.lightweight HTTP Service implementation.
Activator() - Constructor for class org.apache.felix.httplite.osgi.Activator
 
ACTIVE_STATE - Static variable in class org.apache.felix.httplite.server.Server
Server is active (running)
addConnection(Connection) - Method in class org.apache.felix.httplite.server.ThreadPool
This method adds an HTTP connection to the thread pool for servicing.
addCookie(Cookie) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
addDateHeader(String, long) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
addHeader(String, String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
addIntHeader(String, int) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
available() - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
await() - Method in class org.apache.felix.httplite.server.ThreadGate
Wait for the gate to open.

B

buildResponse(int) - Static method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
buildResponse(int, String) - Static method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
buildResponse(int, Map, String, String) - Static method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Build a response given input parameters.

C

close() - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
CLOSE_CONNECTION - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Close value for Connection header.
ConcreteServletInputStream - Class in org.apache.felix.httplite.servlet
Simple utility input stream class that provides a method for reading a line of characters, where a "line" is leniently defined as anything ending in '\n' or '\r\n'.
ConcreteServletInputStream(InputStream) - Constructor for class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
CONFIG_PROPERTY_CONNECTION_REQUESTLIMIT_PROP - Static variable in class org.apache.felix.httplite.server.Server
Connection request limit property
CONFIG_PROPERTY_CONNECTION_TIMEOUT_PROP - Static variable in class org.apache.felix.httplite.server.Server
Connection timeout property
CONFIG_PROPERTY_HTTP_DEBUG - Static variable in class org.apache.felix.httplite.server.Server
Flag to enable debugging for this service implementation.
CONFIG_PROPERTY_HTTP_ENABLE - Static variable in class org.apache.felix.httplite.server.Server
Flag to enable the use of HTTP.
CONFIG_PROPERTY_HTTP_PORT - Static variable in class org.apache.felix.httplite.server.Server
The port used for servlets and resources available via HTTP.
CONFIG_PROPERTY_HTTPS_ENABLE - Static variable in class org.apache.felix.httplite.server.Server
Flag to enable the user of HTTPS.
CONFIG_PROPERTY_THREADPOOL_LIMIT_PROP - Static variable in class org.apache.felix.httplite.server.Server
Thread pool limit property
CONFIG_PROPERTY_THREADPOOL_TIMEOUT_PROP - Static variable in class org.apache.felix.httplite.server.Server
Thread pool timeout property
Connection - Class in org.apache.felix.httplite.server
This class represents an accepted connection between the server and a client.
Connection(Socket, ServiceRegistrationResolver, Logger) - Constructor for class org.apache.felix.httplite.server.Connection
Constructs a connection with a default inactivity timeout and request limit.
Connection(Socket, int, int, ServiceRegistrationResolver, Logger) - Constructor for class org.apache.felix.httplite.server.Connection
Constructs a connection with the specified inactivity timeout and request limit.
containsHeader(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
copy(InputStream, OutputStream) - Static method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Copy an input stream to an output stream.
createDefaultHttpContext() - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
 

D

DEFAULT_CONNECTION_REQUESTLIMIT - Static variable in class org.apache.felix.httplite.server.Connection
Requests per request
DEFAULT_CONNECTION_TIMEOUT - Static variable in class org.apache.felix.httplite.server.Connection
Connection timeout
DEFAULT_HTML_HEADER - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
For building HTML error messages, this value is the default start of the html document for error message responses.
DEFAULT_THREAD_TIMEOUT - Static variable in class org.apache.felix.httplite.server.ThreadPool
Default thread timeout
DefaultContextImpl - Class in org.apache.felix.httplite.osgi
This class was adapted from the Jetty HTTP Service: http://felix.apache.org/site/apache-felix-http-service.html.
DefaultContextImpl(Bundle) - Constructor for class org.apache.felix.httplite.osgi.DefaultContextImpl
 
DELETE_REQUEST - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP DELETE Method
doLog(Bundle, ServiceReference, int, String, Throwable) - Method in class org.apache.felix.httplite.osgi.Logger
 

E

EMPTY_ENUMERATION - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Servlet API requires passing empty enumerations.
encodeRedirectURL(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
encodeRedirectUrl(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
encodeURL(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
encodeUrl(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 

F

flushBuffer() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 

G

GET_REQUEST - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP GET Method
getAlias() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
 
getAttribute(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getAttribute(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getAttributeNames() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getAttributeNames() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getAuthType() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getBufferSize() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
getCharacterEncoding() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getCharacterEncoding() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
getConfiguredPort(Map) - Static method in class org.apache.felix.httplite.server.Server
Get the port the HTTP server listens on based on configuration map or default value.
getContentLength() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getContentType() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getContentType() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
getContext() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
 
getContext(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getContextPath() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getContextPath() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getCookies() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getDateHeader(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getHeader(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
Returns the value of the specified header, if present.
getHeaderNames() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getHeaders(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getHostname() - Method in class org.apache.felix.httplite.server.Server
Returns the hostname associated with the web server.
getInitParameter(String) - Method in class org.apache.felix.httplite.servlet.ServletConfigImpl
 
getInitParameter(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getInitParameterNames() - Method in class org.apache.felix.httplite.servlet.ServletConfigImpl
 
getInitParameterNames() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getInitparams() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
 
getInputStream() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getIntHeader(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getLocalAddr() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getLocale() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getLocale() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
getLocales() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getLocalName() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getLocalPort() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getLogLevel() - Method in class org.apache.felix.httplite.osgi.Logger
 
getMajorVersion() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getMethod() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getMimeType(String) - Method in class org.apache.felix.httplite.osgi.DefaultContextImpl
 
getMimeType(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getMinorVersion() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getName() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
 
getNamedDispatcher(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getOutputStream() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
getParameter(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getParameterMap() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getParameterNames() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getParameterValues(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getPathInfo() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getPathTranslated() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getPort() - Method in class org.apache.felix.httplite.server.Server
Returns the port associated with the web server.
getProcessor(HttpServletRequestImpl, HttpServletResponseImpl, String) - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
 
getProcessor(HttpServletRequestImpl, HttpServletResponseImpl, String) - Method in interface org.apache.felix.httplite.osgi.ServiceRegistrationResolver
For a request, response, and requestPath, return a ServiceRegistrationHandler.
getProtocol() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getQueryString() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getReader() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRealPath(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRealPath(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getRemoteAddr() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRemoteHost() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRemotePort() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRemoteUser() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRequestDispatcher(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRequestDispatcher(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getRequestedSessionId() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRequestURI() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getRequestURL() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getResource(String) - Method in class org.apache.felix.httplite.osgi.DefaultContextImpl
 
getResource(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getResourceAsStream(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getResourcePaths(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getScheme() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getServerInfo() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getServerName() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getServerPort() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getService(Bundle, ServiceRegistration) - Method in class org.apache.felix.httplite.osgi.HttpServiceFactoryImpl
 
getServiceRegistration(String) - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
Iterate through all service registrations and return the registration which matches the longest alias, or null if no matches are found.
getServiceRegistration(String) - Method in interface org.apache.felix.httplite.osgi.ServiceRegistrationResolver
Resolve the requestPath to a Resource or Servlet registration with the closest (deepest) match.
getServlet() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
 
getServlet(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getServletConfig() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
 
getServletContext() - Method in class org.apache.felix.httplite.servlet.ServletConfigImpl
 
getServletContextName() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getServletName() - Method in class org.apache.felix.httplite.servlet.ServletConfigImpl
 
getServletNames() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getServletPath() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getServletRequest(Socket) - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
 
getServletRequest(Socket) - Method in interface org.apache.felix.httplite.osgi.ServiceRegistrationResolver
Given a socket connection return a HttpServletRequestImpl.
getServletResponse(OutputStream) - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
 
getServletResponse(OutputStream) - Method in interface org.apache.felix.httplite.osgi.ServiceRegistrationResolver
Given a HttpRequest and an output stream, return a HttpServletResponseImpl.
getServlets() - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
getSession(boolean) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getSession() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getSocket() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getState() - Method in class org.apache.felix.httplite.server.Server
This method returns the current state of the web server, which is one of the following values: HttpServer.INACTIVE_STATE - the web server is currently not active.
getState() - Method in class org.apache.felix.httplite.server.ThreadPool
This method returns the current state of the thread pool, which is one of the following values: ThreadPool.INACTIVE_STATE - the thread pool is currently not active.
getUserPrincipal() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
getWriter() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 

H

handle(boolean) - Method in interface org.apache.felix.httplite.osgi.ServiceRegistrationHandler
Process the request against the registered provider.
handle(boolean) - Method in class org.apache.felix.httplite.server.ResourceHandler
 
handle(boolean) - Method in class org.apache.felix.httplite.server.ServletHandler
Process the servlet.
handleSecurity(HttpServletRequest, HttpServletResponse) - Method in class org.apache.felix.httplite.osgi.DefaultContextImpl
 
hasBeenInitialized() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
 
HEAD_REQUEST - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP HEAD Method
HEADER_CONNECTION - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Connection header
HEADER_CONTENT_LENGTH - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Content-Length header
HEADER_CONTENT_TYPE - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Content-Type header
HEADER_DELEMITER - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP line delimiter
HEADER_LOCATION - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Location header
HEADER_TERMINATOR - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP header delimiter
HEADER_VALUE_DELIMITER - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP header delimiter.
HOST_HEADER - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Host header
HTTP10_VERSION - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP v 1.0
HTTP11_VERSION - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP v 1.1
HTTP_DATE_FORMAT - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Date format for HTTP
HTTP_RESPONSE_CONTINUE - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP response code 100
HTTP_SCHEME - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP Scheme
HTTP_TIMEZONE - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Timezone specified for HTTP
HttpConstants - Class in org.apache.felix.httplite.servlet
Defines some commonly used HTTP constants and headers.
HttpConstants() - Constructor for class org.apache.felix.httplite.servlet.HttpConstants
 
HttpServiceFactoryImpl - Class in org.apache.felix.httplite.osgi
HttpServiceFactory creates a separate HttpService instance for every requester, so that the requester (client) bundle has access to it's own class loader for getting resources.
HttpServiceFactoryImpl(Logger, Server) - Constructor for class org.apache.felix.httplite.osgi.HttpServiceFactoryImpl
 
HttpServiceImpl - Class in org.apache.felix.httplite.osgi
The HTTP Service implementation that also implements RegistrationResolver to provide internal server classes with OSGi service registration data.
HttpServiceImpl(Bundle, Server, Logger, Map) - Constructor for class org.apache.felix.httplite.osgi.HttpServiceImpl
 
HttpServletRequestImpl - Class in org.apache.felix.httplite.servlet
This class represents an HTTP request, which is parses from a given input stream, and implements HttpServletRequest for servlet processing.
HttpServletRequestImpl(Socket, ServiceRegistrationResolver, Logger) - Constructor for class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
HttpServletResponseImpl - Class in org.apache.felix.httplite.servlet
This class represents an HTTP response and handles sending properly formatted responses to HTTP requests.
HttpServletResponseImpl(OutputStream) - Constructor for class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Constructs an HTTP response for the specified server and request.

I

INACTIVE_STATE - Static variable in class org.apache.felix.httplite.server.Server
Server is inactive (off).
isCommitted() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
isRequestedSessionIdFromCookie() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
isRequestedSessionIdFromURL() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
isRequestedSessionIdFromUrl() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
isRequestedSessionIdValid() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
isSecure() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
isServlet() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
 
isSupportedMethod(String) - Static method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
isUserInRole(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 

K

KEEPALIVE_CONNECTION - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Keep-alive value for Connection header.

L

log(int, String) - Method in class org.apache.felix.httplite.osgi.Logger
 
log(int, String, Throwable) - Method in class org.apache.felix.httplite.osgi.Logger
 
log(ServiceReference, int, String) - Method in class org.apache.felix.httplite.osgi.Logger
 
log(ServiceReference, int, String, Throwable) - Method in class org.apache.felix.httplite.osgi.Logger
 
log(Bundle, int, String) - Method in class org.apache.felix.httplite.osgi.Logger
 
log(Bundle, int, String, Throwable) - Method in class org.apache.felix.httplite.osgi.Logger
 
log(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
log(Exception, String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
log(String, Throwable) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
LOG_DEBUG - Static variable in class org.apache.felix.httplite.osgi.Logger
DEBUG level
LOG_ERROR - Static variable in class org.apache.felix.httplite.osgi.Logger
ERROR level
LOG_INFO - Static variable in class org.apache.felix.httplite.osgi.Logger
INFO level
LOG_WARNING - Static variable in class org.apache.felix.httplite.osgi.Logger
WARNING level
Logger - Class in org.apache.felix.httplite.osgi
This class mimics the standard OSGi LogService interface.
Logger() - Constructor for class org.apache.felix.httplite.osgi.Logger
 

M

mark(int) - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
markSupported() - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 

O

open() - Method in class org.apache.felix.httplite.server.ThreadGate
Open the gate and release any waiting threads.
OPTIONS_REQUEST - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP OPTIONS Method
org.apache.felix.httplite.osgi - package org.apache.felix.httplite.osgi
 
org.apache.felix.httplite.server - package org.apache.felix.httplite.server
 
org.apache.felix.httplite.servlet - package org.apache.felix.httplite.servlet
 

P

parseBody(InputStream) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
This method parses the HTTP body from the specified input stream and ignores the result.
parseHeader(ConcreteServletInputStream) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
This method parses the HTTP header lines from the specified input stream and stores the results.
parseRequestLine(ConcreteServletInputStream) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
This method parses the HTTP request line from the specified input stream and stores the result.
POST_REQUEST - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP POST Method
process() - Method in class org.apache.felix.httplite.server.Connection
Performs the actual servicing of the connection and its subsequent requests.
PUT_REQUEST - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
HTTP PUT Method

R

read() - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
read(byte[]) - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
read(byte[], int, int) - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
readLine() - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
registerResources(String, String, HttpContext) - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
 
registerServlet(String, Servlet, Dictionary, HttpContext) - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
 
removeAttribute(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
removeAttribute(String) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
reset() - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
reset() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
resetBuffer() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
ResourceHandler - Class in org.apache.felix.httplite.server
Handles resource processing.
ResourceHandler(HttpServletRequestImpl, HttpServletResponseImpl, ServiceRegistration, Logger) - Constructor for class org.apache.felix.httplite.server.ResourceHandler
 

S

sendContinueResponse() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Static utility method to send a continue response.
sendError(int, String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
sendError(int) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
sendMissingHostResponse() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Static utility method to send a missing host response.
sendMovedPermanently(String, int, String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Static utility method to send a moved permanently response.
sendNotFoundResponse() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Static utility method to send a Not Found (404) response.
sendNotImplementedResponse() - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Static utility method to send a not implemented response.
sendRedirect(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
Server - Class in org.apache.felix.httplite.server
This class implements a simple multi-threaded web server.
Server(Map, Logger) - Constructor for class org.apache.felix.httplite.server.Server
Construct a web server with the specified configuration.
SERVER_INFO - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Servlet implementation name.
SERVICE_PROPERTY_KEY_HTTP_ENABLE - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Felix HTTP service property to enable HTTP server
SERVICE_PROPERTY_KEY_HTTP_PORT - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Felix HTTP property to configure server port.
SERVICE_PROPERTY_KEY_HTTPS_ENABLE - Static variable in class org.apache.felix.httplite.servlet.HttpConstants
Felix HTTP service property to enable HTTPS server (unimplemented)
serviceChanged(ServiceEvent) - Method in class org.apache.felix.httplite.osgi.Logger
This method implements the callback for the ServiceListener interface.
ServiceRegistration - Class in org.apache.felix.httplite.osgi
This class stores the state from a client that registered a Servlet or resource with the HTTP Service.
ServiceRegistration(String, Servlet, Dictionary, HttpContext, Logger) - Constructor for class org.apache.felix.httplite.osgi.ServiceRegistration
 
ServiceRegistration(String, String, HttpContext, Logger) - Constructor for class org.apache.felix.httplite.osgi.ServiceRegistration
 
ServiceRegistrationHandler - Interface in org.apache.felix.httplite.osgi
Represents either a Resource or a Servlet that should be processed with a valid client connection provided by the server.
ServiceRegistrationResolver - Interface in org.apache.felix.httplite.osgi
An interface to provide internal classes with access to client service registration state.
ServletConfigImpl - Class in org.apache.felix.httplite.servlet
ServletConfig implementation.
ServletConfigImpl(String, Dictionary, ServletContext) - Constructor for class org.apache.felix.httplite.servlet.ServletConfigImpl
 
ServletContextImpl - Class in org.apache.felix.httplite.servlet
ServletContext implementation.
ServletContextImpl(String, HttpContext, Dictionary, Logger) - Constructor for class org.apache.felix.httplite.servlet.ServletContextImpl
 
ServletHandler - Class in org.apache.felix.httplite.server
Handles servlet processing.
ServletHandler(HttpServletRequestImpl, HttpServletResponseImpl, ServiceRegistration, Logger) - Constructor for class org.apache.felix.httplite.server.ServletHandler
 
ServletOutputStreamImpl - Class in org.apache.felix.httplite.servlet
ServletOutputStream Implementation.
ServletOutputStreamImpl(OutputStream) - Constructor for class org.apache.felix.httplite.servlet.ServletOutputStreamImpl
 
setAttribute(String, Object) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
setAttribute(String, Object) - Method in class org.apache.felix.httplite.servlet.ServletContextImpl
 
setBufferSize(int) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setCharacterEncoding(String) - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 
setCharacterEncoding(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setConnectionType(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Can be 'close' or 'Keep-Alive'.
setContentLength(int) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setContentType(String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setDateHeader(String, long) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setHeader(String, String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setInitialized() - Method in class org.apache.felix.httplite.osgi.ServiceRegistration
Set the initialized flat to true.
setIntHeader(String, int) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setLocale(Locale) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setLogLevel(int) - Method in class org.apache.felix.httplite.osgi.Logger
 
setStatus(int) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setStatus(int, String) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
 
setStopping() - Method in class org.apache.felix.httplite.server.Server
Sets the stopping flag to true, meaning that further socket exceptions will not be logged as errors.
setSystemBundleContext(BundleContext) - Method in class org.apache.felix.httplite.osgi.Logger
 
skip(long) - Method in class org.apache.felix.httplite.servlet.ConcreteServletInputStream
 
start(BundleContext) - Method in class org.apache.felix.httplite.osgi.Activator
 
start() - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
Start the HTTP server.
start(ServiceRegistrationResolver) - Method in class org.apache.felix.httplite.server.Server
This method starts the web server if it is not already active.
start() - Method in class org.apache.felix.httplite.server.ThreadPool
Starts the thread pool if it is not already active, allowing it to service connections.
stop(BundleContext) - Method in class org.apache.felix.httplite.osgi.Activator
 
stop() - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
Stop the HTTP server
stop() - Method in class org.apache.felix.httplite.server.Server
This method stops the web server if it is currently active.
stop() - Method in class org.apache.felix.httplite.server.ThreadPool
This method stops the thread pool if it is currently active.
STOPPING_STATE - Static variable in class org.apache.felix.httplite.server.Server
Server is shutting down.

T

ThreadGate - Class in org.apache.felix.httplite.server
This class implements a simple one-shot gate for threads.
ThreadGate() - Constructor for class org.apache.felix.httplite.server.ThreadGate
 
ThreadPool - Class in org.apache.felix.httplite.server
This class implements a simple thread pool for servicing HTTP connections.
ThreadPool(int, Logger) - Constructor for class org.apache.felix.httplite.server.ThreadPool
Constructs a thread pool with the specified thread limit and with the default inactivity timeout.
ThreadPool(int, int, Logger) - Constructor for class org.apache.felix.httplite.server.ThreadPool
Constructs a thread pool with the specified thread limit and inactivity timeout.
toString() - Method in class org.apache.felix.httplite.servlet.HttpServletRequestImpl
 

U

ungetService(Bundle, ServiceRegistration, Object) - Method in class org.apache.felix.httplite.osgi.HttpServiceFactoryImpl
 
UnimplementedAPIException - Exception in org.apache.felix.httplite.servlet
A specific exception for unimplemented features.
UnimplementedAPIException() - Constructor for exception org.apache.felix.httplite.servlet.UnimplementedAPIException
 
unregister(String) - Method in class org.apache.felix.httplite.osgi.HttpServiceImpl
 

W

write(int) - Method in class org.apache.felix.httplite.servlet.ServletOutputStreamImpl
 
writeToOutputStream(InputStream, boolean) - Method in class org.apache.felix.httplite.servlet.HttpServletResponseImpl
Copy the contents of the input to the output stream, then close the input stream.

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

Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.