eu.fakod.sjerseyclient

Rest

trait Rest extends RestImplicits with IRestExceptionWrapper

Linear Supertypes
IRestExceptionWrapper, RestImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rest
  2. IRestExceptionWrapper
  3. RestImplicits
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def getWebResourceFromAbsURI(absPath: String): WebResource

    to create a new WebResource from an absolute Path

    to create a new WebResource from an absolute Path

    Attributes
    protected
  2. abstract val webResource: WebResource

    the WebResource instance

    the WebResource instance

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. implicit def clientResponseToEntity(cr: ClientResponse): AnyRef { def toEntity[T](implicit evidence$1: Manifest[T]): T }

    implicit conversion to convert a ClientResponse to an Entity if none T is given java.

    implicit conversion to convert a ClientResponse to an Entity if none T is given java.lang.Object is used

    cr

    ClientResponse instance

    Definition Classes
    RestImplicits
  8. implicit def clientResponseToLocationString(cr: ClientResponse): AnyRef { def toLocation: String }

    adding toLocation:String to class ClientResponse

    adding toLocation:String to class ClientResponse

    cr

    ClientResponse f.e. returned from a POST call

    returns

    String URI of the newly created entity as String

  9. implicit def clientResponseToLocationURI(cr: ClientResponse): URI

    implicit call of ClientResponse.

    implicit call of ClientResponse.getLocation:URI

    cr

    ClientResponse f.e. returned from a POST call

    returns

    URI URI of the newly created entity

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val mediaType: List[String]

    multiple Media Types as List of Strings

    multiple Media Types as List of Strings

    Attributes
    protected
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def rest[A](f: (RestCallContext) ⇒ A): A

    needed to allow omitting of parenthesis

  22. def rest[A](header: List[(String, String)] = Nil, basePath: String = "", query: List[(String, String)] = Nil, cType: List[String] = null, cAccept: List[String] = null)(f: (RestCallContext) ⇒ A): A

    main method enclosing the REST calls

    main method enclosing the REST calls

    header

    header name value field to add to HTTP header

    basePath

    path to add to all subsequent rest calls

    query

    allows to attach query parameter

    cType

    allows to overwrite the global MediaType setting for Content Type

    cAccept

    allows to overwrite the global MediaType setting for Accept

  23. def restExceptionHandler: (Throwable) ⇒ Unit

    override REST Exception Handler still default here

    override REST Exception Handler still default here

    Definition Classes
    Rest → IRestExceptionWrapper
  24. implicit def restPathStringToWRM(path: String)(implicit settings: RestCallContext): WebResourceBuilderWrapper

    implicit conversion to support "path".

    implicit conversion to support "path".method(...) stuff

    path

    path to add to this specific REST call

    Definition Classes
    RestImplicits
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. implicit def toRichClientResponse(cr: ClientResponse): RichClientResponse

    converts to RichClientResponse

    converts to RichClientResponse

    Definition Classes
    RestImplicits
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from IRestExceptionWrapper

Inherited from RestImplicits

Inherited from AnyRef

Inherited from Any

Ungrouped