Class JerseyWebTarget

java.lang.Object
de.oktoflow.platform.support.rest.spark.JerseyWebTarget
All Implemented Interfaces:
de.iip_ecosphere.platform.support.rest.RestTarget

public class JerseyWebTarget extends Object implements de.iip_ecosphere.platform.support.rest.RestTarget
Wraps a Glassfish/Jersey web target.
Author:
Holger Eichelberger, SSE
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    private class 
    Wraps a Glassfish/Jersey invocation builder.
    private class 
    Wraps a Glassfish/Jersey request.

    Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.rest.RestTarget

    de.iip_ecosphere.platform.support.rest.RestTarget.Invocation, de.iip_ecosphere.platform.support.rest.RestTarget.Request
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private javax.ws.rs.client.WebTarget
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a wrapping instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    de.iip_ecosphere.platform.support.rest.RestTarget.Request
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • webTarget

      private javax.ws.rs.client.WebTarget webTarget
  • Constructor Details

    • JerseyWebTarget

      JerseyWebTarget(String uri)
      Creates a wrapping instance.
      Parameters:
      uri - the uri to build a web target for
  • Method Details

    • createRequest

      public de.iip_ecosphere.platform.support.rest.RestTarget.Request createRequest()
      Specified by:
      createRequest in interface de.iip_ecosphere.platform.support.rest.RestTarget