|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.internal.JsonWithPaddingInterceptor
@Priority(value=3000) public class JsonWithPaddingInterceptor
A WriterInterceptor implementation for JSONP format. This interceptor wraps a JSON stream obtained by a underlying
JSON provider into a callback function that can be defined by the JSONP annotation.
JSONP| Constructor Summary | |
|---|---|
JsonWithPaddingInterceptor(javax.inject.Provider<ContainerRequest> containerRequestProvider)
|
|
| Method Summary | |
|---|---|
void |
aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public JsonWithPaddingInterceptor(javax.inject.Provider<ContainerRequest> containerRequestProvider)
| Method Detail |
|---|
public void aroundWriteTo(javax.ws.rs.ext.WriterInterceptorContext context)
throws java.io.IOException,
javax.ws.rs.WebApplicationException
aroundWriteTo in interface javax.ws.rs.ext.WriterInterceptorjava.io.IOException
javax.ws.rs.WebApplicationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||