Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.http.jetty12.response.JettyApiErrorResponses Class Reference
Collaboration diagram for dev.rafex.ether.http.jetty12.response.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 problem (final Response response, final Callback callback, final ProblemDetails problem)
void unauthorized (final Response response, final Callback callback, final String code)

Detailed Description

Definition at line 41 of file JettyApiErrorResponses.java.

Constructor & Destructor Documentation

◆ JettyApiErrorResponses() [1/2]

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

Definition at line 46 of file JettyApiErrorResponses.java.

◆ JettyApiErrorResponses() [2/2]

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

Definition at line 50 of file JettyApiErrorResponses.java.

Member Function Documentation

◆ badRequest()

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

Definition at line 63 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ error() [1/5]

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

Definition at line 79 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.response.JettyApiErrorResponses.error ( final Response response,
final Callback callback,
final HttpError mapped,
final String path )

Definition at line 83 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.response.JettyApiErrorResponses.error ( final Response response,
final Callback callback,
final int status,
final String error,
final String code )

Definition at line 91 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ error() [4/5]

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

Definition at line 96 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ error() [5/5]

void dev.rafex.ether.http.jetty12.response.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 101 of file JettyApiErrorResponses.java.

References error(), and problem().

Here is the call graph for this function:

◆ forbidden()

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

Definition at line 71 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ internalServerError()

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

Definition at line 75 of file JettyApiErrorResponses.java.

References error().

Referenced by error(), and problem().

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.response.JettyApiErrorResponses.notFound ( final Response response,
final Callback callback )

Definition at line 55 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ notFound() [2/2]

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

Definition at line 59 of file JettyApiErrorResponses.java.

References error().

Here is the call graph for this function:

◆ problem()

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

Definition at line 106 of file JettyApiErrorResponses.java.

References internalServerError(), and problem().

Referenced by error(), and problem().

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

◆ unauthorized()

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

Definition at line 67 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: