@Path(value="/error") public final class ErrorResource extends Object
Constructor and Description |
---|
ErrorResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
errorEmpty(javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
errorHTML(javax.servlet.http.HttpServletRequest request) |
javax.ws.rs.core.Response |
errorText(javax.servlet.http.HttpServletRequest request) |
@GET @Produces(value="text/html") public javax.ws.rs.core.Response errorHTML(@Context javax.servlet.http.HttpServletRequest request)
@GET @Produces(value="text/plain") public javax.ws.rs.core.Response errorText(@Context javax.servlet.http.HttpServletRequest request)
@GET @Produces(value="*/*") public javax.ws.rs.core.Response errorEmpty(@Context javax.servlet.http.HttpServletRequest request)
Copyright © 2014–2018. All rights reserved.