Class ResponseEntityMapper
java.lang.Object
org.apache.hadoop.hbase.http.jersey.ResponseEntityMapper
- All Implemented Interfaces:
org.apache.hbase.thirdparty.javax.ws.rs.container.ContainerResponseFilter
@Private
public class ResponseEntityMapper
extends Object
implements org.apache.hbase.thirdparty.javax.ws.rs.container.ContainerResponseFilter
Generate a uniform response wrapper around the Entity returned from the resource.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
filter
(org.apache.hbase.thirdparty.javax.ws.rs.container.ContainerRequestContext requestContext, org.apache.hbase.thirdparty.javax.ws.rs.container.ContainerResponseContext responseContext)
-
Constructor Details
-
ResponseEntityMapper
public ResponseEntityMapper()
-
-
Method Details
-
filter
public void filter(org.apache.hbase.thirdparty.javax.ws.rs.container.ContainerRequestContext requestContext, org.apache.hbase.thirdparty.javax.ws.rs.container.ContainerResponseContext responseContext) throws IOException - Specified by:
filter
in interfaceorg.apache.hbase.thirdparty.javax.ws.rs.container.ContainerResponseFilter
- Throws:
IOException
-