Skip navigation links
A C G H I J L O P R S U W 

A

addCookie(String, String) - Method in interface org.bridje.http.HttpBridletResponse
Adds a new HttpCookie to the response of this request.
addCookie(String, String, String) - Method in interface org.bridje.http.HttpBridletResponse
Adds a new HttpCookie to the response of this request.
addCookie(String, String, String, String) - Method in interface org.bridje.http.HttpBridletResponse
Adds a new HttpCookie to the response of this request.
addCookie(String, String, String, String, int) - Method in interface org.bridje.http.HttpBridletResponse
Adds a new HttpCookie to the response of this request.
addCookie(String, String, String, String, int, boolean) - Method in interface org.bridje.http.HttpBridletResponse
Adds a new HttpCookie to the response of this request.

C

canHandle(String) - Method in interface org.bridje.http.WsServerHandler
Determines when ever the given path will be handled by this web socket handler or not.
CONFIG_FILE - Static variable in interface org.bridje.http.HttpServer
Default configuration file for the HTTP Server.
createInetSocketAddress() - Method in class org.bridje.http.config.HttpServerConfig
Creates the InetSocketAddress to be user by the server.
createSSLContext() - Method in class org.bridje.http.config.HttpServerConfig
Creates a new SSLContext from the parameters of this configuration, that can be use for the SSL codec of the HTTP server.

G

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 Accept-Language 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 multiple 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
Returns the domain of this HttpCookie.
getFilename() - Method in interface org.bridje.http.UploadedFile
Gets the original file name selected by the user in the browser.
getFirst() - Method in interface org.bridje.http.HttpReqParam
Gets the first value sent to the server with the name of this parameter.
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 specified 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
Returns the maximum age of this HttpCookie in seconds or Long.MIN_VALUE if unspecified
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
Returns the name of this 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
Returns the path of this 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 unmodifiable 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
Returns the value of this HttpCookie.
getValue() - Method in interface org.bridje.http.HttpReqParam
If this parameter is multiple this method will return a value according to an internal cursor.
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.

H

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
An interface defining an HTTP cookie.
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
 

I

isDelete() - Method in interface org.bridje.http.HttpBridletRequest
Whenever 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
Whenever this request content type is a www-form or multipart-form.
isGet() - Method in interface org.bridje.http.HttpBridletRequest
Whenever 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
Whenever 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
Whenever this request is http method is "PATCH".
isPost() - Method in interface org.bridje.http.HttpBridletRequest
Whenever this request is http method is "POST".
isPut() - Method in interface org.bridje.http.HttpBridletRequest
Whenever this request is http method is "PUT".
isSecure() - Method in interface org.bridje.http.HttpCookie
Checks to see if this HttpCookie is secure
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
Whenever this request is a "application/x-www-form-urlencoded".

J

join() - Method in interface org.bridje.http.HttpServer
Joins the HTTP thread, and waits until the server its shutdown.

L

load(VFile) - Static method in class org.bridje.http.config.HttpServerConfig
Loads a HttpServerConfig from a file.

O

onText(WsChannel, String) - Method in interface org.bridje.http.WsServerHandler
This method will be call for each text message received from any client endpoint connected to the web socket managed by this handler.
org.bridje.http - package org.bridje.http
 
org.bridje.http.config - package org.bridje.http.config
 
org.bridje.http.impl - package org.bridje.http.impl
 

P

popValue() - Method in interface org.bridje.http.HttpReqParam
If this parameter is multiple this method will return a value according to an internal cursor and increment the cursor position.
printBridlets(PrintWriter) - Method in interface org.bridje.http.HttpServer
Prints the full list of HttpBridlets that are in the class path and its priorities.

R

reset() - Method in interface org.bridje.http.HttpReqParam
Reset the internal cursor to position 0

S

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.
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
Sets the domain of this 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
Determines if this HttpCookie is HTTP only.
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
Sets the path of this 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
Sets the security getStatus of this 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
Sets the value of this 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

U

UploadedFile - Interface in org.bridje.http
Represents a file uploaded during a HTTP request.

W

WsChannel - Interface in org.bridje.http
The interface to communicate with the remote web socket endpoint.
WsServerHandler - Interface in org.bridje.http
Represents a handler for web sockets request, this interface must be implemented by components that will be responsible to handle the messages send to the given path by different clients.
A C G H I J L O P R S U W 
Skip navigation links

Copyright © 2015–2018 Bridje Framework. All rights reserved.