Interface ResponseMarshaler.Builder.NotFoundHandler
- Enclosing class:
ResponseMarshaler.Builder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function used to support pluggable implementations of
ResponseMarshaler.forNotFound(Request).- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionPrepares a response for a request that triggers an HTTP 404 Not Found.
-
Method Details
-
handle
Prepares a response for a request that triggers an HTTP 404 Not Found.Detailed documentation is available at https://www.soklet.com/docs/response-writing#404-not-found.
- Parameters:
request- the HTTP request- Returns:
- the response to be sent over the wire
-