RPCResponseFilter

wvlet.airframe.http.internal.RPCResponseFilter
object RPCResponseFilter extends RxHttpFilter, LogSupport

Add RPCStatus to the response header and embed the error message to the request body

Attributes

Graph
Supertypes
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
trait RxHttpFilter
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

override def apply(request: Request, next: RxHttpEndpoint): Rx[Response]

Apply a filter before sending the request to the endpoint, and handle its response before returning the client.

Apply a filter before sending the request to the endpoint, and handle its response before returning the client.

To implement your own filter, override this method.

Attributes

Definition Classes

Inherited methods

def andThen(body: Request => Rx[Response]): RxHttpEndpoint

A handy method to create RxHttpEndpoint from a given function.

A handy method to create RxHttpEndpoint from a given function.

Attributes

Inherited from:
RxHttpFilter

Bridge this filter to the endpoint.

Bridge this filter to the endpoint.

Attributes

Inherited from:
RxHttpFilter
def andThen(nextFilter: RxHttpFilter): RxHttpFilter

Chain to the next filter.

Chain to the next filter.

Attributes

Inherited from:
RxHttpFilter
inline protected def debug(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any, inline cause: Throwable): Unit

Attributes

Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit

Attributes

Inherited from:
LoggingMethods