@Provider public class ResourceBundleWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<ResourceBundleEndpoint.ResourceBundleDispatcher>
Modifier and Type | Field and Description |
---|---|
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.http.HttpServletResponse |
response |
protected javax.servlet.ServletContext |
servletContext |
protected javax.ws.rs.core.UriInfo |
uriInfo |
Constructor and Description |
---|
ResourceBundleWriter() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(ResourceBundleEndpoint.ResourceBundleDispatcher arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4) |
boolean |
isWriteable(Class<?> arg0,
Type arg1,
Annotation[] arg2,
javax.ws.rs.core.MediaType arg3) |
void |
writeTo(ResourceBundleEndpoint.ResourceBundleDispatcher arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4,
javax.ws.rs.core.MultivaluedMap<String,Object> arg5,
OutputStream arg6) |
@Context protected javax.ws.rs.core.UriInfo uriInfo
@Context protected javax.servlet.ServletContext servletContext
@Context protected javax.servlet.http.HttpServletRequest request
@Context protected javax.servlet.http.HttpServletResponse response
public ResourceBundleWriter()
public long getSize(ResourceBundleEndpoint.ResourceBundleDispatcher arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<ResourceBundleEndpoint.ResourceBundleDispatcher>
public boolean isWriteable(Class<?> arg0, Type arg1, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<ResourceBundleEndpoint.ResourceBundleDispatcher>
public void writeTo(ResourceBundleEndpoint.ResourceBundleDispatcher arg0, Class<?> arg1, Type arg2, Annotation[] arg3, javax.ws.rs.core.MediaType arg4, javax.ws.rs.core.MultivaluedMap<String,Object> arg5, OutputStream arg6) throws IOException, javax.ws.rs.WebApplicationException
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<ResourceBundleEndpoint.ResourceBundleDispatcher>
IOException
javax.ws.rs.WebApplicationException
Copyright © 2016 Nuxeo SA. All rights reserved.