@Path(value="exception") @Consumes(value="text/plain") @Produces(value="text/plain") public class ExceptionResource extends Object
| Constructor and Description |
|---|
ExceptionResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
exceptionInRequestFilter() |
String |
exceptionInResponseFilter() |
String |
pingMe() |
String |
testMyException(String s) |
String |
testMySubException(String s) |
String |
testMySubSubException(String s) |
String |
testWebApplicationExceptionEntity(String s) |
String |
testWebApplicationExceptionNoEntity(String s) |
@GET public String pingMe()
@POST @Path(value="webapplication_entity") public String testWebApplicationExceptionEntity(String s)
@POST @Path(value="webapplication_noentity") public String testWebApplicationExceptionNoEntity(String s)
@POST @Path(value="request_exception") public String exceptionInRequestFilter()
@GET @Path(value="response_exception") public String exceptionInResponseFilter()
Copyright © 2007-2020, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.