Class JerseyWebTarget.JerseyInvocationBuilder
java.lang.Object
de.oktoflow.platform.support.rest.spark.JerseyWebTarget.JerseyInvocationBuilder
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.rest.RestTarget.Invocation
- Enclosing class:
JerseyWebTarget
private class JerseyWebTarget.JerseyInvocationBuilder
extends Object
implements de.iip_ecosphere.platform.support.rest.RestTarget.Invocation
Wraps a Glassfish/Jersey invocation builder.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJerseyInvocationBuilder(javax.ws.rs.client.WebTarget webTarget, String mediaType) Creates a wrapping instance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.support.rest.RestTarget.Invocation
getAsString
-
Field Details
-
invocationBuilder
private javax.ws.rs.client.Invocation.Builder invocationBuilder -
mediaType
-
-
Constructor Details
-
JerseyInvocationBuilder
Creates a wrapping instance.- Parameters:
webTarget- the request targetmediaType- the media type, seeMediaType
-
-
Method Details
-
get
- Specified by:
getin interfacede.iip_ecosphere.platform.support.rest.RestTarget.Invocation- Throws:
IOException
-
put
- Specified by:
putin interfacede.iip_ecosphere.platform.support.rest.RestTarget.Invocation- Throws:
IOException
-
delete
- Specified by:
deletein interfacede.iip_ecosphere.platform.support.rest.RestTarget.Invocation- Throws:
IOException
-