|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorResponseExtension
An optional extension that a producer can expose to control error responses.
To expose this extension, the producer implementation has to return an instance of this
interface when method findExtension
is called and the first parameter is equal to
ErrorResponseExtension.class
.
ErrorResponseExtensions
Method Summary | |
---|---|
boolean |
returnInnerError(HttpHeaders httpHeaders,
UriInfo uriInfo,
ODataProducerException exception)
This method is called before an error response is created and sent to the client. |
Method Detail |
---|
boolean returnInnerError(HttpHeaders httpHeaders, UriInfo uriInfo, ODataProducerException exception)
httpHeaders
- the HTTP headers of the request that led to an erroruriInfo
- the URI info of the request that led to an errorexception
- the exception about to be sent to the client
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |