A B C D E F G H I J L O P R S T U V W 
All Classes All Packages

A

addDirectory(File) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler.
addDirectory(File, boolean) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler.
addDirectory(File, ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler.
addDirectory(File, ByteLoadingOption, boolean) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler.
addDirectory(File, String) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler with a specified name.
addDirectory(File, String, boolean) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler with a specified name.
addDirectory(File, String, ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler with a specified name.
addDirectory(File, String, ByteLoadingOption, boolean) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler with a specified name.
addDirectory(String, File) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler at a specified context.
addDirectory(String, File, boolean) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler at a specified context.
addDirectory(String, File, ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler at a specified context.
addDirectory(String, File, ByteLoadingOption, boolean) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler at a specified context.
addDirectory(String, File, String) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler at a specified context with a specified name.
addDirectory(String, File, String, boolean) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler at a specified context with a specified name.
addDirectory(String, File, String, ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler at a specified context with a specified name.
addDirectory(String, File, String, ByteLoadingOption, boolean) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a directory to the handler at a specified context with a specified name.
addFile(File) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a file to the handler.
addFile(File, ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a file to the handler.
addFile(File, String) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a file to the handler with a specified name.
addFile(File, String, ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a file to the handler with a specified name.
addFile(String, File) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a file to the handler at a specified context.
addFile(String, File, ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a file to the handler at a specified context.
addFile(String, File, String) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a file to the handler at a specified context with a specified name.
addFile(String, File, String, ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds a file to the handler at a specified context with a specified name.
addFiles(File[]) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds multiple files to the handler.
addFiles(File[], ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds multiple files to the handler.
addFiles(String, File[]) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds multiple files to the handler at a specified context.
addFiles(String, File[], ByteLoadingOption) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Adds multiple files to the handler at a specified context.
assignSessionID(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.HttpSessionHandler
Assigns a session id to a client.

B

bind(int) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Binds the server to a port.
bind(int, int) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Binds the server to a port.
bind(InetSocketAddress) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Binds the server to a port.
bind(InetSocketAddress, int) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Binds the server to a port.
build() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns the completed cookie.
Builder(String, String) - Constructor for class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Creates an HTTP cookie builder given a key and value.
ByteLoadingOption - Enum in com.kttdevelopment.simplehttpserver.handler
Determines how files will be loaded in the FileHandler.

C

canIgnoreConnectionLimit(HttpSession, HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.ServerSessionThrottler
Returns if a session is exempt from the server connection limit only.
canIgnoreConnectionLimit(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.ServerExchangeThrottler
Returns if an exchange is exempt from the server connection limit only.
close() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Closes the exchange between the client and server.
com.kttdevelopment.simplehttpserver - package com.kttdevelopment.simplehttpserver
 
com.kttdevelopment.simplehttpserver.handler - package com.kttdevelopment.simplehttpserver.handler
 
com.kttdevelopment.simplehttpserver.var - package com.kttdevelopment.simplehttpserver.var
 
CONNECT - com.kttdevelopment.simplehttpserver.var.RequestMethod
 
ContextUtil - Class in com.kttdevelopment.simplehttpserver
A utility class used to generate uniform contexts.
ContextUtil() - Constructor for class com.kttdevelopment.simplehttpserver.ContextUtil
 
create() - Static method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Creates a SimpleHttpServer.
create() - Static method in class com.kttdevelopment.simplehttpserver.SimpleHttpsServer
create(int) - Static method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Creates a SimpleHttpServer bounded to a port.
create(int) - Static method in class com.kttdevelopment.simplehttpserver.SimpleHttpsServer
Creates a SimpleHttpsServer bounded to a port.
create(int, int) - Static method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Creates a SimpleHttpServer bounded to a port.
create(int, int) - Static method in class com.kttdevelopment.simplehttpserver.SimpleHttpsServer
Creates a SimpleHttpsServer bounded to a port.
createContext(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Creates an empty context.
createContext(String, Authenticator) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Creates a context mapped to a specific HttpContext with an Authenticator.
createContext(String, HttpHandler) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Creates a context mapped to a specified HttpHandler.
createContext(String, HttpHandler, Authenticator) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Creates a context mapped to a specific HttpContext with an Authenticator.

D

DELETE - com.kttdevelopment.simplehttpserver.var.RequestMethod
 

E

ExchangeThrottler - Class in com.kttdevelopment.simplehttpserver.handler
Limits connections per address to the server.
ExchangeThrottler() - Constructor for class com.kttdevelopment.simplehttpserver.handler.ExchangeThrottler
Creates a throttler with limits on each exchange.

F

FileHandler - Class in com.kttdevelopment.simplehttpserver.handler
A request handler that processes files using the FileHandlerAdapter.
FileHandler() - Constructor for class com.kttdevelopment.simplehttpserver.handler.FileHandler
Creates a file handler without a FileHandlerAdapter.
FileHandler(FileHandlerAdapter) - Constructor for class com.kttdevelopment.simplehttpserver.handler.FileHandler
Creates a file handler with a FileHandler.
FileHandlerAdapter - Interface in com.kttdevelopment.simplehttpserver.handler
This interface determines the file name and bytes to use when adding to FileHandler.

G

GET - com.kttdevelopment.simplehttpserver.var.RequestMethod
 
getAddress() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns the address that the server is binded to.
getAttribute(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns attribute for filters use.
getContext(String, boolean, boolean) - Static method in class com.kttdevelopment.simplehttpserver.ContextUtil
Generates a uniform context with forward slashes removing any consecutive slashes.
getContextHandler(HttpContext) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns the handler mapped to a context or null if it is not found.
getContextHandler(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns the handler mapped to a context or null if none is found.
getContexts() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns a copy of the server's contexts and their respective handlers.
getCookies() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the client's existing cookies as a map of keys and values.
getCreationTime() - Method in class com.kttdevelopment.simplehttpserver.HttpSession
Returns when the session was created.
getDomain() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns the domain to send the cookie to.
getExecutor() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns the server's executor or null if none exists.
getExpires() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns when the cookie should expire.
getGetMap() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the GET request as a map with its keys and values.
getHttpContext() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the context associated with the exchange.
getHttpExchange() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the native http exchange.
getHttpPrincipal() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the http principle for the exchange.
getHttpsConfigurator() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpsServer
Returns the https configurator of the server
getHttpServer() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the server where the request came from.
getHttpServer() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns the native http server.
getHttpServer() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpsServer
Returns the native https server.
getHttpSession(SimpleHttpExchange) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns the session associated with an exchange or null it no session handler exists.
getHttpSession(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns the session associated with an exchange or null if no session handler exists.
getHttpSessionHandler() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Returns the session handler for the server or null if none exists.
getLastAccessTime() - Method in class com.kttdevelopment.simplehttpserver.HttpSession
Returns when the session was last used.
getLocalAddress() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the client's local address on the server.
getMaxAge() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns how long the cookie should exist for.
getMaxConnections(HttpSession, HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.ServerSessionThrottler
Returns the maximum number of connections for a session.
getMaxConnections(HttpSession, HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.SessionThrottler
Returns the maximum number of connections for a session.
getMaxConnections(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.ExchangeThrottler
 
getMaxConnections(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.ServerExchangeThrottler
 
getMaxConnections(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.ServerSessionThrottler
 
getMaxConnections(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.SessionThrottler
 
getMaxServerConnections() - Method in class com.kttdevelopment.simplehttpserver.handler.ServerExchangeThrottler
Returns the maximum number of connections the server can have.
getMaxServerConnections() - Method in class com.kttdevelopment.simplehttpserver.handler.ServerSessionThrottler
Returns the maximum number of connections the server can have.
getName() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns the name of the cookie.
getOutputStream() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the exchange response stream.
getPath() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns the path to send the cookie to.
getPostMap() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the POST request as keys mapped to values.
getProtocol() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the protocol for the URI address.
getPublicAddress() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the client's public address.
getRandomContext() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Generates a random context at the root that can be used on the server.
getRandomContext(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Generates a random context that can be used on the server.
getRawGet() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the GET request as a string.
getRawPost() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the POST request as a string.
getRequestHeaders() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the request headers.
getRequestMethod() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the request method.
getResponseCode() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the response headers to be sent.
getResponseHeaders() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the response headers to be sent.
getSession(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.HttpSessionHandler
Returns the session of the client or assigns one if it does not yet have one Session will only be saved client side if the exchange headers are sent using HttpExchange.sendResponseHeaders(int, long).
getSessionID() - Method in class com.kttdevelopment.simplehttpserver.HttpSession
Returns the session id.
getURI() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns the exchange URI.
getValue() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns the value of the cookie.

H

handle(SimpleHttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
 
handle(SimpleHttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.RedirectHandler
 
handle(SimpleHttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.SSEHandler
 
handle(SimpleHttpExchange) - Method in interface com.kttdevelopment.simplehttpserver.SimpleHttpHandler
Handlers the given request and generates a response if no exceptions occur.
handle(SimpleHttpExchange, File, byte[]) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
Handles a file and gives a response.
handle(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
 
handle(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.PredicateHandler
 
handle(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.RedirectHandler
 
handle(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.SSEHandler
 
handle(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.TemporaryHandler
 
handle(HttpExchange) - Method in class com.kttdevelopment.simplehttpserver.handler.ThrottledHandler
 
handle(HttpExchange) - Method in interface com.kttdevelopment.simplehttpserver.SimpleHttpHandler
Encapsulates the SimpleHttpHandler.handle(SimpleHttpExchange) for the authenticator.
hasGet() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns if there is a GET request.
hasPost() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Returns if there is a POST request.
HEAD - com.kttdevelopment.simplehttpserver.var.RequestMethod
 
HTTP_Accepted - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_AlreadyReported - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_BadGateway - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_BadRequest - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Conflict - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Continue - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Created - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_EarlyHints - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_ExpectationFailed - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_FailedDependency - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Forbidden - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Found - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_GatewayTimeout - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Gone - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_HTTPVersionNotSupported - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_IMUsed - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_InsufficientStorage - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_InternalServerError - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_LengthRequired - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Locked - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_LoopDetected - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_MethodNotAllowed - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_MisdirectedRequest - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_MovedPermanently - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_MultipleChoices - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_MultiStatus - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_NetworkAuthenticationRequired - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_NoContent - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_NonAuthoritativeInformation - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_NotAcceptable - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_NotExtended - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_NotFound - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_NotImplemented - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_NotModified - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_OK - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_PartialContent - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_PayloadTooLarge - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_PaymentRequired - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_PermanentRedirect - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_PreconditionFailed - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_PreconditionRequired - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Processing - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_ProxyAuthenticationRequired - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_RangeNotSatisfiable - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_RequestHeaderFieldsTooLarge - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_RequestTimeout - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_ResetContent - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_SeeOther - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_ServiceUnavailable - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_SwitchingProtocols - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_TemporaryRedirect - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_TooEarly - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_TooManyRequests - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Unauthorized - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_UnavailableForLegalReasons - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_UnprocessableEntity - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_UnsupportedMediaType - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_Unused - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_UpgradeRequired - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_URITooLong - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_UseProxy - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HTTP_VariantAlsoNegotiates - Static variable in class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HttpCode - Class in com.kttdevelopment.simplehttpserver.var
A list of expected HTTP status codes.
HttpCode() - Constructor for class com.kttdevelopment.simplehttpserver.var.HttpCode
 
HttpSession - Class in com.kttdevelopment.simplehttpserver
A session keeps track of a single client across multiple exchanges.
HttpSession() - Constructor for class com.kttdevelopment.simplehttpserver.HttpSession
Creates an empty HttpSession.
HttpSessionHandler - Class in com.kttdevelopment.simplehttpserver
This class assigns HttpSession to every client.
HttpSessionHandler() - Constructor for class com.kttdevelopment.simplehttpserver.HttpSessionHandler
Creates a session handler using the cookie __session-id.
HttpSessionHandler(String) - Constructor for class com.kttdevelopment.simplehttpserver.HttpSessionHandler
Creates a session handler, storing the id at the specified cookie.

I

isHttpOnly() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns if only the server should have access to the cookies.
isSameSite() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns if the cookie should be prevented from being sent cross-site.
isSecure() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Returns if the cookie must be sent over a secure/HTTPS protocol.

J

joinContexts(boolean, boolean, String...) - Static method in class com.kttdevelopment.simplehttpserver.ContextUtil
Generates a uniform context given a set of strings using forward slashes and removing consecutive slashes.

L

LIVELOAD - com.kttdevelopment.simplehttpserver.handler.ByteLoadingOption
 

O

OPTIONS - com.kttdevelopment.simplehttpserver.var.RequestMethod
 

P

PATCH - com.kttdevelopment.simplehttpserver.var.RequestMethod
 
POST - com.kttdevelopment.simplehttpserver.var.RequestMethod
 
PredicateHandler - Class in com.kttdevelopment.simplehttpserver.handler
The handler will process each request differently depending on the predicate.
PredicateHandler(HttpHandler, HttpHandler, Predicate<HttpExchange>) - Constructor for class com.kttdevelopment.simplehttpserver.handler.PredicateHandler
Creates a predicate handler.
PRELOAD - com.kttdevelopment.simplehttpserver.handler.ByteLoadingOption
 
push(String) - Method in class com.kttdevelopment.simplehttpserver.handler.SSEHandler
Pushes an event to the stream.
push(String, int, String) - Method in class com.kttdevelopment.simplehttpserver.handler.SSEHandler
Pushes an event to the stream.
PUT - com.kttdevelopment.simplehttpserver.var.RequestMethod
 

R

RedirectHandler - Class in com.kttdevelopment.simplehttpserver.handler
A request handler that redirects to a different URL without pushing to the history.
RedirectHandler(String) - Constructor for class com.kttdevelopment.simplehttpserver.handler.RedirectHandler
Creates a redirect to a URL.
removeContext(HttpContext) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Removes the context from the server.
removeContext(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Removes the context at the context.
RequestMethod - Enum in com.kttdevelopment.simplehttpserver.var
A list of expected HTTP method requests.
RootHandler - Class in com.kttdevelopment.simplehttpserver.handler
By default the HttpServer will use the most specific context for requests; this however causes the context / to catch all contexts without an associated handler, instead of sending a 404 or no response.
RootHandler(HttpHandler, HttpHandler) - Constructor for class com.kttdevelopment.simplehttpserver.handler.RootHandler
Creates a root handler.

S

send(byte[]) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response to the client.
send(byte[], boolean) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response to the client.
send(byte[], int) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response with response code to the client.
send(byte[], int, boolean) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response with response code to the client.
send(int) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response code to the client.
send(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response to the client.
send(String, boolean) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response to the client.
send(String, int) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response with response code to the client.
send(String, int, boolean) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends a response with response code to the client.
sendResponseHeaders(int, long) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sends response headers to the client.
ServerExchangeThrottler - Class in com.kttdevelopment.simplehttpserver.handler
Limits connections per address to the server and total server connections.
ServerExchangeThrottler() - Constructor for class com.kttdevelopment.simplehttpserver.handler.ServerExchangeThrottler
Creates a throttler with connection limits on user and total connections.
ServerExchangeThrottler(int) - Constructor for class com.kttdevelopment.simplehttpserver.handler.ServerExchangeThrottler
Creates a throttler with connection limits on user and total connections.
ServerSessionThrottler - Class in com.kttdevelopment.simplehttpserver.handler
Limits connections per session to the server and total server sessions.
ServerSessionThrottler(HttpSessionHandler) - Constructor for class com.kttdevelopment.simplehttpserver.handler.ServerSessionThrottler
Creates a throttler with limits on session and total connections.
ServerSessionThrottler(HttpSessionHandler, int) - Constructor for class com.kttdevelopment.simplehttpserver.handler.ServerSessionThrottler
Creates a throttler with limits on session and total connections.
SessionThrottler - Class in com.kttdevelopment.simplehttpserver.handler
Limits connections per http session.
SessionThrottler(HttpSessionHandler) - Constructor for class com.kttdevelopment.simplehttpserver.handler.SessionThrottler
Creates a throttler that allows no connections.
setAttribute(String, Object) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sets attribute for filter use.
setCookie(SimpleHttpCookie) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sets a cookie in the response header.
setCookie(String, String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Sets a cookie in the response header.
setDomain(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Sets the domain of the cookie.
setExecutor(Executor) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Sets the server's executor.
setExpires(Date) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Sets when the cookie should expire.
setHttpOnly(boolean) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Sets if only the server should have access to the cookies.
setHttpsConfigurator(HttpsConfigurator) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpsServer
Sets a https configurator for the server
setHttpSessionHandler(HttpSessionHandler) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Sets a session handler for the server.
setMaxAge(int) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Sets how long the cookie should exist for.
setMaxServerConnections(int) - Method in class com.kttdevelopment.simplehttpserver.handler.ServerExchangeThrottler
Sets the maximum number of connections the server can have.
setMaxServerConnections(int) - Method in class com.kttdevelopment.simplehttpserver.handler.ServerSessionThrottler
Sets the maximum number of connections the server can have.
setPath(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Sets the path of the cookie.
setSameSite(String) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Sets if the cookie should be prevented from being sent cross-site.
setSecure(boolean) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie.Builder
Sets if the cookie must be sent over a secure/HTTPS protocol.
SimpleHttpCookie - Class in com.kttdevelopment.simplehttpserver
An HTTP Cookie to be sent in a response header.
SimpleHttpCookie.Builder - Class in com.kttdevelopment.simplehttpserver
Builder class for SimpleHttpCookie.
SimpleHttpExchange - Class in com.kttdevelopment.simplehttpserver
This class is a simplified implementation of HttpExchange.
SimpleHttpExchange() - Constructor for class com.kttdevelopment.simplehttpserver.SimpleHttpExchange
Create an empty SimpleHttpExchange.
SimpleHttpHandler - Interface in com.kttdevelopment.simplehttpserver
A simplified implementation of HttpHandler.
SimpleHttpServer - Class in com.kttdevelopment.simplehttpserver
This class is a simplified implementation of HttpServer.
At least one HttpHandler must be created in order to process requests.
SimpleHttpServer() - Constructor for class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Creates an empty SimpleHttpServer.
SimpleHttpsServer - Class in com.kttdevelopment.simplehttpserver
This class is a simplified implementation of HttpsServer. The server must have a HttpsConfigurator set using SimpleHttpsServer.setHttpsConfigurator(HttpsConfigurator).
At least one HttpHandler must be created in order to process requests.
SimpleHttpsServer() - Constructor for class com.kttdevelopment.simplehttpserver.SimpleHttpsServer
Creates an empty SimpleHttpsServer.
SSEHandler - Class in com.kttdevelopment.simplehttpserver.handler
A SSE handler allows server to client events by using an text/event-stream.
SSEHandler() - Constructor for class com.kttdevelopment.simplehttpserver.handler.SSEHandler
 
start() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Starts the server.
stop() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Stops the server and all active requests.
stop(int) - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpServer
Stops the server with a delay for remaining requests.

T

TemporaryHandler - Class in com.kttdevelopment.simplehttpserver.handler
A temporary handler handles a single request and then removes itself from the server.
TemporaryHandler(SimpleHttpServer, HttpHandler) - Constructor for class com.kttdevelopment.simplehttpserver.handler.TemporaryHandler
Creates a temporary handler that removes itself after the first connection.
TemporaryHandler(SimpleHttpServer, HttpHandler, long) - Constructor for class com.kttdevelopment.simplehttpserver.handler.TemporaryHandler
Creates a temporary handler that removes itself after the first connection, or after the time expires.
TemporaryHandler(HttpHandler) - Constructor for class com.kttdevelopment.simplehttpserver.handler.TemporaryHandler
Creates a temporary handler that removes itself after the first connection.
TemporaryHandler(HttpHandler, long) - Constructor for class com.kttdevelopment.simplehttpserver.handler.TemporaryHandler
Creates a temporary handler that removes itself after the first connection, or after the time expires.
ThrottledHandler - Class in com.kttdevelopment.simplehttpserver.handler
This handler limits the amount of active connections to a handler.
ThrottledHandler(HttpHandler, ConnectionThrottler) - Constructor for class com.kttdevelopment.simplehttpserver.handler.ThrottledHandler
Creates a throttled handler using a throttler.
toCookieHeaderString() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie
Converts the cookie to a readable string for a response header.
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.ExchangeThrottler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.FileHandler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.PredicateHandler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.RedirectHandler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.ServerExchangeThrottler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.ServerSessionThrottler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.SessionThrottler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.SSEHandler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.TemporaryHandler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.handler.ThrottledHandler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.HttpSessionHandler
 
toString() - Method in class com.kttdevelopment.simplehttpserver.SimpleHttpCookie
 
TRACE - com.kttdevelopment.simplehttpserver.var.RequestMethod
 

U

UNSUPPORTED - com.kttdevelopment.simplehttpserver.var.RequestMethod
 
updateLastAccessTime() - Method in class com.kttdevelopment.simplehttpserver.HttpSession
Updates the last access time for the session

V

valueOf(String) - Static method in enum com.kttdevelopment.simplehttpserver.handler.ByteLoadingOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.kttdevelopment.simplehttpserver.var.RequestMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.kttdevelopment.simplehttpserver.handler.ByteLoadingOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.kttdevelopment.simplehttpserver.var.RequestMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

WATCHLOAD - com.kttdevelopment.simplehttpserver.handler.ByteLoadingOption
 
A B C D E F G H I J L O P R S T U V W 
All Classes All Packages