|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.resteasy.hypermedia.renderer.AbstractExceptionHandler
public abstract class AbstractExceptionHandler
Base implementation for handlers of raised exceptions.
Field Summary | |
---|---|
protected org.jboss.resteasy.spi.HttpRequest |
request The request to access the request headers. |
protected org.jboss.resteasy.spi.HttpResponse |
response The response to write to. |
protected javax.servlet.http.HttpServletRequest |
servletRequest The HTTP request. |
protected javax.servlet.http.HttpServletResponse |
servletResponse The HTTP response. |
protected javax.ws.rs.core.UriInfo |
uriInfo Helper to construct paths. |
Constructor Summary | |
---|---|
AbstractExceptionHandler() |
Method Summary | |
---|---|
protected ResourceContext |
createContext() Creates the resource context from injected information. |
protected abstract I18nProvider |
getI18nProvider() Provides access to internationalization information. |
javax.ws.rs.core.Response |
toResponse(Throwable exception) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@Context protected org.jboss.resteasy.spi.HttpResponse response
@Context protected org.jboss.resteasy.spi.HttpRequest request
@Context protected javax.servlet.http.HttpServletRequest servletRequest
@Context protected javax.servlet.http.HttpServletResponse servletResponse
@Context protected javax.ws.rs.core.UriInfo uriInfo
Constructor Detail |
---|
public AbstractExceptionHandler()
Method Detail |
---|
protected abstract I18nProvider getI18nProvider()
protected ResourceContext createContext()
public javax.ws.rs.core.Response toResponse(Throwable exception)
toResponse
in interface
javax.ws.rs.ext.ExceptionMapper<Throwable>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |