com.atlassian.plugins.rest.common.expand.jersey
Class ExpandResponseFilter
java.lang.Object
com.atlassian.plugins.rest.common.expand.jersey.ExpandResponseFilter
- All Implemented Interfaces:
- com.sun.jersey.spi.container.ContainerResponseFilter
@Provider
public class ExpandResponseFilter
- extends java.lang.Object
- implements com.sun.jersey.spi.container.ContainerResponseFilter
The response filter that handled entity expansion.
By default it looks up the expand query parameter. If the parameter exists (and contains relevant information) the filter
triggers the expansion of the current entity in the response.
|
Method Summary |
com.sun.jersey.spi.container.ContainerResponse |
filter(com.sun.jersey.spi.container.ContainerRequest request,
com.sun.jersey.spi.container.ContainerResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandResponseFilter
public ExpandResponseFilter(EntityExpanderResolver expanderResolver)
ExpandResponseFilter
public ExpandResponseFilter(java.lang.String expandParameterName,
EntityExpanderResolver expanderResolver)
filter
public com.sun.jersey.spi.container.ContainerResponse filter(com.sun.jersey.spi.container.ContainerRequest request,
com.sun.jersey.spi.container.ContainerResponse response)
- Specified by:
filter in interface com.sun.jersey.spi.container.ContainerResponseFilter
Copyright © 2009 Atlassian. All Rights Reserved.