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

Public Member Functions

void badRequest (final Response response, final Callback callback, final String message)
void error (final Response response, final Callback callback, final HttpError mapped)
void error (final Response response, final Callback callback, final HttpError mapped, final String path)
void error (final Response response, final Callback callback, final int status, final String error, final String code)
void error (final Response response, final Callback callback, final int status, final String error, final String code, final String message)
void error (final Response response, final Callback callback, final int status, final String error, final String code, final String message, final String path)
void forbidden (final Response response, final Callback callback, final String code)
void internalServerError (final Response response, final Callback callback, final String message)
 JettyApiErrorResponses (final JsonCodec jsonCodec)
 JettyApiErrorResponses (final JsonCodec jsonCodec, final Clock clock)
void notFound (final Response response, final Callback callback)
void notFound (final Response response, final Callback callback, final String path)
void unauthorized (final Response response, final Callback callback, final String code)

Detailed Description

Definition at line 39 of file JettyApiErrorResponses.java.

Constructor & Destructor Documentation

◆ JettyApiErrorResponses() [1/2]

dev.rafex.ether.http.jetty12.JettyApiErrorResponses.JettyApiErrorResponses ( final JsonCodec jsonCodec)

Definition at line 44 of file JettyApiErrorResponses.java.

◆ JettyApiErrorResponses() [2/2]

dev.rafex.ether.http.jetty12.JettyApiErrorResponses.JettyApiErrorResponses ( final JsonCodec jsonCodec,
final Clock clock )

Definition at line 48 of file JettyApiErrorResponses.java.

Member Function Documentation

◆ badRequest()

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.badRequest ( final Response response,
final Callback callback,
final String message )

Definition at line 61 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ error() [1/5]

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.error ( final Response response,
final Callback callback,
final HttpError mapped )

Definition at line 77 of file JettyApiErrorResponses.java.

References error().

Referenced by badRequest(), error(), error(), error(), error(), error(), forbidden(), internalServerError(), notFound(), notFound(), and unauthorized().

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

◆ error() [2/5]

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.error ( final Response response,
final Callback callback,
final HttpError mapped,
final String path )

Definition at line 81 of file JettyApiErrorResponses.java.

References error(), and internalServerError().

Here is the call graph for this function:

◆ error() [3/5]

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.error ( final Response response,
final Callback callback,
final int status,
final String error,
final String code )

Definition at line 89 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ error() [4/5]

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.error ( final Response response,
final Callback callback,
final int status,
final String error,
final String code,
final String message )

Definition at line 94 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ error() [5/5]

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.error ( final Response response,
final Callback callback,
final int status,
final String error,
final String code,
final String message,
final String path )

Definition at line 99 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ forbidden()

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.forbidden ( final Response response,
final Callback callback,
final String code )

Definition at line 69 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ internalServerError()

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.internalServerError ( final Response response,
final Callback callback,
final String message )

Definition at line 73 of file JettyApiErrorResponses.java.

References error().

Referenced by error().

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

◆ notFound() [1/2]

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.notFound ( final Response response,
final Callback callback )

Definition at line 53 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ notFound() [2/2]

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.notFound ( final Response response,
final Callback callback,
final String path )

Definition at line 57 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ unauthorized()

void dev.rafex.ether.http.jetty12.JettyApiErrorResponses.unauthorized ( final Response response,
final Callback callback,
final String code )

Definition at line 65 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

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