com.sun.jersey.server.linking
Class LinkFilter
java.lang.Object
com.sun.jersey.server.linking.LinkFilter
- All Implemented Interfaces:
- ContainerResponseFilter
public class LinkFilter
- extends Object
- implements ContainerResponseFilter
Filter that processes Link
annotated fields in returned response
entities.
When an application is deployed as a Servlet or Filter this filter can be
registered using the following initialization parameters:
<init-param>
<param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
<param-value>com.sun.jersey.server.linking.LinkFilter</param-value>
</init-param>
- Author:
- mh124079
- See Also:
Link
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkFilter
public LinkFilter()
filter
public ContainerResponse filter(ContainerRequest request,
ContainerResponse response)
- Description copied from interface:
ContainerResponseFilter
- Filter the response.
An implementation may modify the state of the response or
return a new instance.
- Specified by:
filter
in interface ContainerResponseFilter
- Parameters:
request
- the request.response
- the response.
- Returns:
- the response.
Copyright © 2013 Oracle Corporation. All Rights Reserved.