Package ubic.gemma.rest.providers
Class WebApplicationExceptionMapperTest.CustomResource
java.lang.Object
ubic.gemma.rest.providers.WebApplicationExceptionMapperTest.CustomResource
- Enclosing class:
WebApplicationExceptionMapperTest
@Path("/custom")
public static class WebApplicationExceptionMapperTest.CustomResource
extends Object
This is a very simplisitc example that produces two representation for the same resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
CustomResource
public CustomResource()
-
-
Method Details
-
indexAsJson
@GET @Produces("application/json") public WebApplicationExceptionMapperTest.CustomResource.MyModel indexAsJson() -
indexAsString
-