Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.http.jetty12.JettyHttpExchange Class Reference
Inheritance diagram for dev.rafex.ether.http.jetty12.JettyHttpExchange:
Collaboration diagram for dev.rafex.ether.http.jetty12.JettyHttpExchange:

Public Member Functions

Set< String > allowedMethods ()
Callback callback ()
 JettyHttpExchange (final Request request, final Response response, final Callback callback, final Map< String, String > pathParams, final Map< String, List< String > > queryParams, final Set< String > allowedMethods, final JsonCodec jsonCodec)
void json (final int status, final Object body)
String method ()
void methodNotAllowed ()
void noContent (final int status)
void options ()
String path ()
String pathParam (final String name)
Map< String, String > pathParams ()
List< String > queryAll (final String name)
String queryFirst (final String name)
Map< String, List< String > > queryParams ()
Request request ()
Response response ()
void text (final int status, final String body)

Detailed Description

Definition at line 42 of file JettyHttpExchange.java.

Constructor & Destructor Documentation

◆ JettyHttpExchange()

dev.rafex.ether.http.jetty12.JettyHttpExchange.JettyHttpExchange ( final Request request,
final Response response,
final Callback callback,
final Map< String, String > pathParams,
final Map< String, List< String > > queryParams,
final Set< String > allowedMethods,
final JsonCodec jsonCodec )

Definition at line 52 of file JettyHttpExchange.java.

Member Function Documentation

◆ allowedMethods()

Set< String > dev.rafex.ether.http.jetty12.JettyHttpExchange.allowedMethods ( )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 116 of file JettyHttpExchange.java.

◆ callback()

Callback dev.rafex.ether.http.jetty12.JettyHttpExchange.callback ( )

Definition at line 72 of file JettyHttpExchange.java.

◆ json()

void dev.rafex.ether.http.jetty12.JettyHttpExchange.json ( final int status,
final Object body )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 121 of file JettyHttpExchange.java.

◆ method()

String dev.rafex.ether.http.jetty12.JettyHttpExchange.method ( )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 77 of file JettyHttpExchange.java.

◆ methodNotAllowed()

void dev.rafex.ether.http.jetty12.JettyHttpExchange.methodNotAllowed ( )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 136 of file JettyHttpExchange.java.

References dev.rafex.ether.http.core.HttpExchange.methodNotAllowed().

Here is the call graph for this function:

◆ noContent()

void dev.rafex.ether.http.jetty12.JettyHttpExchange.noContent ( final int status)

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 131 of file JettyHttpExchange.java.

◆ options()

void dev.rafex.ether.http.jetty12.JettyHttpExchange.options ( )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 142 of file JettyHttpExchange.java.

References dev.rafex.ether.http.core.HttpExchange.options().

Here is the call graph for this function:

◆ path()

String dev.rafex.ether.http.jetty12.JettyHttpExchange.path ( )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 82 of file JettyHttpExchange.java.

◆ pathParam()

String dev.rafex.ether.http.jetty12.JettyHttpExchange.pathParam ( final String name)

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 87 of file JettyHttpExchange.java.

◆ pathParams()

Map< String, String > dev.rafex.ether.http.jetty12.JettyHttpExchange.pathParams ( )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 106 of file JettyHttpExchange.java.

◆ queryAll()

List< String > dev.rafex.ether.http.jetty12.JettyHttpExchange.queryAll ( final String name)

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 101 of file JettyHttpExchange.java.

◆ queryFirst()

String dev.rafex.ether.http.jetty12.JettyHttpExchange.queryFirst ( final String name)

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 92 of file JettyHttpExchange.java.

Referenced by dev.rafex.ether.http.jetty12.NonBlockingResourceHandler.queryParam(), and dev.rafex.ether.http.jetty12.ResourceHandler.queryParam().

Here is the caller graph for this function:

◆ queryParams()

Map< String, List< String > > dev.rafex.ether.http.jetty12.JettyHttpExchange.queryParams ( )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 111 of file JettyHttpExchange.java.

◆ request()

Request dev.rafex.ether.http.jetty12.JettyHttpExchange.request ( )

Definition at line 64 of file JettyHttpExchange.java.

◆ response()

Response dev.rafex.ether.http.jetty12.JettyHttpExchange.response ( )

Definition at line 68 of file JettyHttpExchange.java.

◆ text()

void dev.rafex.ether.http.jetty12.JettyHttpExchange.text ( final int status,
final String body )

Implements dev.rafex.ether.http.core.HttpExchange.

Definition at line 126 of file JettyHttpExchange.java.


The documentation for this class was generated from the following file: