Index

A B C D E F G H J L N O P Q R S T U 
Alle Klassen und Schnittstellen|Alle Packages|Konstantenfeldwerte

A

addTo(Headers) - Methode in Klasse de.srsoftware.tools.Cookie
add this cookie instance to a Headers object
addTo(Headers) - Methode in Klasse de.srsoftware.tools.SessionToken
 
addTo(HttpExchange) - Methode in Klasse de.srsoftware.tools.Cookie
add this cookie instance to a Headers object
AUTHORIZATION - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 

B

badRequest(HttpExchange, byte[]) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
create a response with status code 400, send payload
badRequest(HttpExchange, Object) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
create a response with status code 400, send payload
BasicAuth(String, String) - Konstruktor für Datensatzklasse de.srsoftware.tools.PathHandler.BasicAuth
Erstellt eine Instanz einer Datensatzklasse BasicAuth.
bindPath(String...) - Methode in Klasse de.srsoftware.tools.PathHandler
Bind the PathHandler object to one/several paths
body(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
extracts the body of an HttpExchange

C

code() - Methode in Klasse de.srsoftware.tools.HttpError
return the error code assigned with this error
CONTENT_TYPE - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 
Cookie - Klasse in de.srsoftware.tools
This class allows to add cookies to a header object

D

de.srsoftware.tools - Package de.srsoftware.tools
 
DEFAULT_LANGUAGE - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 
DELETE - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 
doDelete(String, HttpExchange) - Methode in Klasse de.srsoftware.tools.PathHandler
"not found" default implementation
doGet(String, HttpExchange) - Methode in Klasse de.srsoftware.tools.PathHandler
"not found" default implementation
doPost(String, HttpExchange) - Methode in Klasse de.srsoftware.tools.PathHandler
"not found" default implementation

E

equals(Object) - Methode in Datensatzklasse de.srsoftware.tools.PathHandler.BasicAuth
Gibt an, ob ein anderes Objekt diesem gleich ("equal to") ist.

F

from(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.SessionToken
 

G

GET - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 
getAuthToken(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
extract the value of an Authorization header, if present
getBasicAuth(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
 
getBearer(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
try to extract a bearer token from the headers of the HttpExchange
getHeader(HttpExchange, String) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
 
getKey() - Methode in Klasse de.srsoftware.tools.Cookie
 
getValue() - Methode in Klasse de.srsoftware.tools.Cookie
 

H

handle(HttpExchange) - Methode in Klasse de.srsoftware.tools.PathHandler
 
hashCode() - Methode in Datensatzklasse de.srsoftware.tools.PathHandler.BasicAuth
Gibt einen Hashcodewert für diese Objekt zurück.
HOST - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 
hostname(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
 
HttpError<NONE> - Klasse in de.srsoftware.tools
A special Error type that additionally carries an error code
HttpError(int, String, Map<String, Object>, Collection<Exception>) - Konstruktor für Klasse de.srsoftware.tools.HttpError
create a new Error object carrying the passed message

J

json(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
 
JSON - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 

L

language(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
request the Accept-Language header
LOG - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 

N

notFound(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
sends a "not found" response

O

of(int, Exception, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.HttpError
create a new HttpError object carrying the passed message
of(int, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.HttpError
create a new HttpError object carrying the passed message
of(int, Collection<Exception>, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.HttpError
create a new HttpError object carrying the passed message
of(int, Map<String, Object>, Exception, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.HttpError
create a new HttpError object carrying the passed message
of(int, Map<String, Object>, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.HttpError
create a new HttpError object carrying the passed message
of(int, Map<String, Object>, Collection<Exception>, String, Object...) - Statische Methode in Klasse de.srsoftware.tools.HttpError
create a new HttpError object carrying the passed message
of(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.Cookie
list the cookies of a given HttpExchange object
on(HttpServer) - Methode in Klasse de.srsoftware.tools.PathHandler.Bond
create a context on the server object for every path stored in this Bond

P

pass() - Methode in Datensatzklasse de.srsoftware.tools.PathHandler.BasicAuth
Gibt den Wert für die Datensatzkomponente pass zurück.
PathHandler - Klasse in de.srsoftware.tools
implementation of HttpHandler that attaches to a given path
PathHandler() - Konstruktor für Klasse de.srsoftware.tools.PathHandler
 
PathHandler.BasicAuth - Datensatzklasse in de.srsoftware.tools
Object to hold auth data
PathHandler.Bond - Klasse in de.srsoftware.tools
this class allows to bind a PathHandler to a HttpServer instance
POST - Statische Variable in Klasse de.srsoftware.tools.PathHandler
 

Q

queryParam(HttpExchange) - Methode in Klasse de.srsoftware.tools.PathHandler
 

R

relativePath(HttpExchange) - Methode in Klasse de.srsoftware.tools.PathHandler
 

S

sendContent(HttpExchange, byte[]) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
 
sendContent(HttpExchange, int, byte[]) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
create a response given status code, send payload
sendContent(HttpExchange, int, Object) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
create a response given status code, send payload
sendContent(HttpExchange, Object) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
 
sendEmptyResponse(int, HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
 
sendRedirect(HttpExchange, String) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
 
serverError(HttpExchange, Object) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
create a "internal server error" response
sessionId() - Methode in Klasse de.srsoftware.tools.SessionToken
 
SessionToken - Klasse in de.srsoftware.tools
a special cookies allowing to keep track of a session
SessionToken(String) - Konstruktor für Klasse de.srsoftware.tools.SessionToken
 
SessionToken(String, Instant, boolean) - Konstruktor für Klasse de.srsoftware.tools.SessionToken
 
setValue(String) - Methode in Klasse de.srsoftware.tools.Cookie
 

T

toString() - Methode in Datensatzklasse de.srsoftware.tools.PathHandler.BasicAuth
Gibt eine Zeichenfolgendarstellung dieser Datensatzklasse zurück.
transform() - Methode in Klasse de.srsoftware.tools.HttpError
create an HttpError with the same metadata content as this Object, but with different payload type

U

url(HttpExchange) - Statische Methode in Klasse de.srsoftware.tools.PathHandler
recover the URL from an HttpExchange object
userId() - Methode in Datensatzklasse de.srsoftware.tools.PathHandler.BasicAuth
Gibt den Wert für die Datensatzkomponente userId zurück.
A B C D E F G H J L N O P Q R S T U 
Alle Klassen und Schnittstellen|Alle Packages|Konstantenfeldwerte