@Consumes(value="text/plain") @Provider public class CommandMessageBodyRW extends Object implements javax.ws.rs.ext.MessageBodyWriter<org.kie.api.command.Command<?>>
| Constructor and Description |
|---|
CommandMessageBodyRW() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(org.kie.api.command.Command<?> arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4)
getSize
|
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] arg2,
javax.ws.rs.core.MediaType arg3)
isWriteable
|
void |
writeTo(org.kie.api.command.Command<?> obj,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4,
javax.ws.rs.core.MultivaluedMap<String,Object> arg5,
OutputStream out)
writeTo
|
public long getSize(org.kie.api.command.Command<?> arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<org.kie.api.command.Command<?>>public boolean isWriteable(Class<?> type, Type genericType, Annotation[] arg2, javax.ws.rs.core.MediaType arg3)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.kie.api.command.Command<?>>public void writeTo(org.kie.api.command.Command<?> obj,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
javax.ws.rs.core.MediaType arg4,
javax.ws.rs.core.MultivaluedMap<String,Object> arg5,
OutputStream out)
throws IOException,
javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.kie.api.command.Command<?>>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2005–2016 The Apache Software Foundation. All rights reserved.