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

Public Member Functions

boolean handle (final Request request, final Response response, final Callback callback)
Public Member Functions inherited from dev.rafex.ether.http.core.HttpResource
default boolean delete (final HttpExchange x) throws Exception
default boolean get (final HttpExchange x) throws Exception
default boolean options (final HttpExchange x) throws Exception
default boolean patch (final HttpExchange x) throws Exception
default boolean post (final HttpExchange x) throws Exception
default boolean put (final HttpExchange x) throws Exception
default Set< String > supportedMethods ()

Protected Member Functions

abstract String basePath ()
 ResourceHandler (final JsonCodec jsonCodec)
 ResourceHandler (final JsonCodec jsonCodec, final ErrorMapper errorMapper)
List< Route > routes ()

Static Protected Member Functions

static String queryParam (final JettyHttpExchange x, final String key)

Detailed Description

Definition at line 48 of file ResourceHandler.java.

Constructor & Destructor Documentation

◆ ResourceHandler() [1/2]

dev.rafex.ether.http.jetty12.ResourceHandler.ResourceHandler ( final JsonCodec jsonCodec)
protected

Definition at line 54 of file ResourceHandler.java.

◆ ResourceHandler() [2/2]

dev.rafex.ether.http.jetty12.ResourceHandler.ResourceHandler ( final JsonCodec jsonCodec,
final ErrorMapper errorMapper )
protected

Definition at line 58 of file ResourceHandler.java.

Member Function Documentation

◆ basePath()

abstract String dev.rafex.ether.http.jetty12.ResourceHandler.basePath ( )
abstractprotected

◆ handle()

boolean dev.rafex.ether.http.jetty12.ResourceHandler.handle ( final Request request,
final Response response,
final Callback callback )

Definition at line 71 of file ResourceHandler.java.

References dev.rafex.ether.http.core.RouteMatcher.match(), and routes().

Here is the call graph for this function:

◆ queryParam()

String dev.rafex.ether.http.jetty12.ResourceHandler.queryParam ( final JettyHttpExchange x,
final String key )
staticprotected

Definition at line 153 of file ResourceHandler.java.

References dev.rafex.ether.http.jetty12.JettyHttpExchange.queryFirst().

Here is the call graph for this function:

◆ routes()

List< Route > dev.rafex.ether.http.jetty12.ResourceHandler.routes ( )
protected

Definition at line 66 of file ResourceHandler.java.

References dev.rafex.ether.http.core.HttpResource.supportedMethods().

Referenced by handle().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file:
  • ether-http-jetty12/ether-http-jetty12/src/main/java/dev/rafex/ether/http/jetty12/ResourceHandler.java