- get(Class<T>) - Method in interface org.bridje.http.HttpBridletContext
-
Gets an instance of the specified class if an instance of it was added
previously to this context.
- getAccept() - Method in interface org.bridje.http.HttpBridletRequest
-
The Accept header sent by the client.
- getAcceptLanguage() - Method in interface org.bridje.http.HttpBridletRequest
-
The AcceptLanguaje header sent by the client.
- getAllUploadedFiles() - Method in interface org.bridje.http.HttpBridletRequest
-
Gets the uploaded files for a "multipart/form-data" request.
- getAllValues() - Method in interface org.bridje.http.HttpReqParam
-
If this parameter is mulitple this method will return all of the values
that were sent to the server under it´s name.
- getContentType() - Method in interface org.bridje.http.HttpBridletRequest
-
The mime/type sent by the client for this request, this method will get
the Content-Type http header.
- getContentType() - Method in interface org.bridje.http.HttpBridletResponse
-
The content mime type of the response.
- getContentType() - Method in interface org.bridje.http.UploadedFile
-
Gets the mime/type for the file.
- getCookie(String) - Method in interface org.bridje.http.HttpBridletRequest
-
Gets the specified HTTP cookie.
- getCookies() - Method in interface org.bridje.http.HttpBridletRequest
-
Gets a map with all the cookies sent to the server by the client.
- getCookiesNames() - Method in interface org.bridje.http.HttpBridletRequest
-
Gets all the cookies names available in this request.
- getDomain() - Method in interface org.bridje.http.HttpCookie
-
- getFilename() - Method in interface org.bridje.http.UploadedFile
-
Gets the original file name selected by the user in the browser.
- getGetParameter(String) - Method in interface org.bridje.http.HttpBridletRequest
-
Gets the specific "GET" parameter from the parameters map.
- getGetParameters() - Method in interface org.bridje.http.HttpBridletRequest
-
Gets the "GET" parameters that where sent by the client in the query
string of the request.
- getGetParametersNames() - Method in interface org.bridje.http.HttpBridletRequest
-
Gets all the "GET" parameters names for this request if any.
- getHeader(String) - Method in interface org.bridje.http.HttpBridletRequest
-
Gets the value of the especified header.
- getHeaders() - Method in interface org.bridje.http.HttpBridletRequest
-
All the headers names in this request.
- getHost() - Method in interface org.bridje.http.HttpBridletRequest
-
The host of the server the client made the HTTP request to
- getInputStream() - Method in interface org.bridje.http.HttpBridletRequest
-
An InputStream witch allows to read the request body for this request.
- getInputStream() - Method in interface org.bridje.http.UploadedFile
-
Opens a new InputStream to read the content of the file.
- getKeyStoreAlgo() - Method in class org.bridje.http.config.HttpServerConfig
-
The algorithm for the KeyManagerFactory.
- getKeyStoreFile() - Method in class org.bridje.http.config.HttpServerConfig
-
The file that holds the key store for the SSLContext.
- getKeyStorePass() - Method in class org.bridje.http.config.HttpServerConfig
-
The password for the key store file.
- getKeyStoreType() - Method in class org.bridje.http.config.HttpServerConfig
-
The KeyStore type to create for the SSLContext.
- getListen() - Method in class org.bridje.http.config.HttpServerConfig
-
The listen IP on witch to start the HTTP server, can be null witch means
all IPs will be allowed.
- getMaxAge() - Method in interface org.bridje.http.HttpCookie
-
- getMethod() - Method in interface org.bridje.http.HttpBridletRequest
-
The HTTP method used to made the request.
- getName() - Method in class org.bridje.http.config.HttpServerConfig
-
The HTTP server name, by default it will be "Bridje HTTP Server" but you
can change that setting this property.
- getName() - Method in interface org.bridje.http.HttpCookie
-
- getName() - Method in interface org.bridje.http.HttpReqParam
-
The name of this parameter.
- getName() - Method in interface org.bridje.http.UploadedFile
-
Gets the name of the HTML form field where this file was uploaded.
- getOutputStream() - Method in interface org.bridje.http.HttpBridletResponse
-
The OutputStream to print the response body.
- getPath() - Method in interface org.bridje.http.HttpBridletRequest
-
The requested path asked by the client.
- getPath() - Method in interface org.bridje.http.HttpCookie
-
- getPort() - Method in class org.bridje.http.config.HttpServerConfig
-
The port on witch the HTTP server will listen for new connections.
- getPostParameter(String) - Method in interface org.bridje.http.HttpBridletRequest
-
Gets the specific post parameter from the parameters map.
- getPostParameters() - Method in interface org.bridje.http.HttpBridletRequest
-
Gets a unmodificable map to the post parameters sent by the client.
- getPostParametersNames() - Method in interface org.bridje.http.HttpBridletRequest
-
Gets all the post parameters names for this request if any.
- getProtocol() - Method in interface org.bridje.http.HttpBridletRequest
-
The protocol used to made the request
- getRequest() - Method in interface org.bridje.http.HttpBridletContext
-
The HTTP request.
- getResponse() - Method in interface org.bridje.http.HttpBridletContext
-
The HTTP response.
- getSslAlgo() - Method in class org.bridje.http.config.HttpServerConfig
-
The algorithm to use to create the SSLContext.
- getStatus() - Method in exception org.bridje.http.HttpException
-
The status code to return to the client, must be a valid HTTP status code.
- getStatusCode() - Method in interface org.bridje.http.HttpBridletResponse
-
The status code of the response.
- getUploadedFile(String) - Method in interface org.bridje.http.HttpBridletRequest
-
Gets the given uploaded file.
- getUserAgent() - Method in interface org.bridje.http.HttpBridletRequest
-
The UserAgent heather from the http request if any.
- getValue() - Method in interface org.bridje.http.HttpCookie
-
- getValue() - Method in interface org.bridje.http.HttpReqParam
-
Gets the first value sent to the server with the name of this parameter.
- getWrap() - Method in interface org.bridje.http.HttpCookie
-
Returns true if the raw value of this
HttpCookie, was wrapped
with double quotes in original Set-Cookie header.
- handle(HttpBridletContext) - Method in interface org.bridje.http.HttpBridlet
-
Handles the HTTP request, This method must call the same method from the
next handler if it exists an return it's result or it can handle the
request it self and return true in that case.
- HttpBridlet - Interface in org.bridje.http
-
Represents a handler of HTTP request, this interface must be implemented by
components that will be call in chain to handle the request.
- HttpBridletContext - Interface in org.bridje.http
-
Represents a context used in a HTTP request by the server handlers.
- HttpBridletRequest - Interface in org.bridje.http
-
Represents an HTTP request being made to the server.
- HttpBridletResponse - Interface in org.bridje.http
-
Represents the response made by the server to the client in the HTTP request.
- HttpCookie - Interface in org.bridje.http
-
- HttpException - Exception in org.bridje.http
-
Exception to be use by the HTTP server to return an status code and message
to the client.
- HttpException(int) - Constructor for exception org.bridje.http.HttpException
-
Status code only constructor.
- HttpException(int, String) - Constructor for exception org.bridje.http.HttpException
-
Status code an message constructor.
- HttpException(int, String, Throwable) - Constructor for exception org.bridje.http.HttpException
-
All fields constructor.
- HttpException(int, Throwable) - Constructor for exception org.bridje.http.HttpException
-
Status and cause constructor.
- HttpReqParam - Interface in org.bridje.http
-
Represents an HTTP POST or GET parameter sent to the server.
- HttpServer - Interface in org.bridje.http
-
Http server service, you can inject this interface to control HTTP server.
- HttpServerConfig - Class in org.bridje.http.config
-
HTTP server configuration.
- HttpServerConfig() - Constructor for class org.bridje.http.config.HttpServerConfig
-
- isDelete() - Method in interface org.bridje.http.HttpBridletRequest
-
When ever this request is http method is "DELETE".
- isEmpty() - Method in interface org.bridje.http.HttpReqParam
-
Determines if the first value sent to the server is an empty string.
- isForm() - Method in interface org.bridje.http.HttpBridletRequest
-
When ever this request content type is a www-form or multipart-form.
- isGet() - Method in interface org.bridje.http.HttpBridletRequest
-
When ever this request is http method is "GET".
- isHttpOnly() - Method in interface org.bridje.http.HttpCookie
-
Checks to see if this
HttpCookie can only be accessed via HTTP.
- isMultipartForm() - Method in interface org.bridje.http.HttpBridletRequest
-
When ever this request is a "multipart/form-data".
- isMultiple() - Method in interface org.bridje.http.HttpReqParam
-
Determines when ever this parameter has multiple values, this is if the
client sent several values with the name of this parameter.
- isPatch() - Method in interface org.bridje.http.HttpBridletRequest
-
When ever this request is http method is "PATCH".
- isPost() - Method in interface org.bridje.http.HttpBridletRequest
-
When ever this request is http method is "POST".
- isPut() - Method in interface org.bridje.http.HttpBridletRequest
-
When ever this request is http method is "PUT".
- isSecure() - Method in interface org.bridje.http.HttpCookie
-
- isSingle() - Method in interface org.bridje.http.HttpReqParam
-
Determines when ever this parameter has a single value.
- isSsl() - Method in class org.bridje.http.config.HttpServerConfig
-
Gets if the server must run with SSL connector for HTTPs, if this
parameter is true, the SSL parameters must be configure properly for the
server to start.
- isWwwForm() - Method in interface org.bridje.http.HttpBridletRequest
-
When ever this request is a "application/x-www-form-urlencoded".
- save(OutputStream, HttpServerConfig) - Static method in class org.bridje.http.config.HttpServerConfig
-
Save a SipServerConfig to an output stream.
- send(String) - Method in interface org.bridje.http.WsChannel
-
Sends a text message to the remote endpoint.
- separate() - Method in interface org.bridje.http.HttpReqParam
-
This method will separate this object into several parameters one for each
value this parameter holds.
- set(Class<T>, T) - Method in interface org.bridje.http.HttpBridletContext
-
Add the data object to the context so it can be retrieve by the get
method.
- setContentType(String) - Method in interface org.bridje.http.HttpBridletResponse
-
The content mime type of the response.
- setDomain(String) - Method in interface org.bridje.http.HttpCookie
-
- setHeader(String, Object) - Method in interface org.bridje.http.HttpBridletResponse
-
Sets a header for the response.
- setHttpOnly(boolean) - Method in interface org.bridje.http.HttpCookie
-
- setKeyStoreAlgo(String) - Method in class org.bridje.http.config.HttpServerConfig
-
The algorithm for the KeyManagerFactory.
- setKeyStoreFile(String) - Method in class org.bridje.http.config.HttpServerConfig
-
The file that holds the key store for the SSLContext.
- setKeyStorePass(String) - Method in class org.bridje.http.config.HttpServerConfig
-
The password for the key store file.
- setKeyStoreType(String) - Method in class org.bridje.http.config.HttpServerConfig
-
The KeyStore type to create for the SSLContext.
- setListen(String) - Method in class org.bridje.http.config.HttpServerConfig
-
The host on witch to start the HTTP server, can be null witch means all
IPs will be allowed.
- setMaxAge(long) - Method in interface org.bridje.http.HttpCookie
-
Sets the maximum age of this
HttpCookie in seconds.
- setName(String) - Method in class org.bridje.http.config.HttpServerConfig
-
The HTTP server name, by default it will be "Bridje HTTP Server" but you
can change that setting this property.
- setPath(String) - Method in interface org.bridje.http.HttpCookie
-
- setPort(int) - Method in class org.bridje.http.config.HttpServerConfig
-
The port on witch the HTTP server will listen for new connections.
- setSecure(boolean) - Method in interface org.bridje.http.HttpCookie
-
- setSsl(boolean) - Method in class org.bridje.http.config.HttpServerConfig
-
Gets if the server must run with SSL connector for HTTPs, if this
parameter is true, the SSL parameters must be configure properly for the
server to start.
- setSslAlgo(String) - Method in class org.bridje.http.config.HttpServerConfig
-
The algorithm to use to create the SSLContext.
- setStatusCode(int) - Method in interface org.bridje.http.HttpBridletResponse
-
The status code of the response.
- setValue(String) - Method in interface org.bridje.http.HttpCookie
-
- setWrap(boolean) - Method in interface org.bridje.http.HttpCookie
-
Sets true if the value of this
HttpCookie is to be wrapped with
double quotes.
- start() - Method in interface org.bridje.http.HttpServer
-
Starts the HTTP server, this method does not wait for the server to start
it returns inmediatly.
- stop() - Method in interface org.bridje.http.HttpServer
-
Stops the HTTP server