Class

org.clulab.reach.export.server

ApiService

Related Doc: package server

Permalink

class ApiService extends ApiImpl

Provide a Reach API service via Akka HTTP using Json4s support for marshalling.

Linear Supertypes
ApiImpl, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApiService
  2. ApiImpl
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ApiService(appConfig: AkkaServerConfig)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bindingFuture: Future[ServerBinding]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def contentTypeFor(outputFormat: String): NonBinary

    Permalink

    Return the media type for the given output format string.

    Return the media type for the given output format string.

    Definition Classes
    ApiImpl
  8. def doNxml(nxmlText: String, outputFormat: String = "fries"): Response

    Permalink

    Return the results from processing the given NXML text with the REACH rulesets.

    Return the results from processing the given NXML text with the REACH rulesets.

    Definition Classes
    ApiImpl
  9. def doText(text: String, outputFormat: String = "fries"): Response

    Permalink

    Return the results from processing the given text with the REACH rulesets.

    Return the results from processing the given text with the REACH rulesets.

    Definition Classes
    ApiImpl
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. implicit val executionContext: ExecutionContextExecutor

    Permalink
  13. def fileExtensionFor(outputFormat: String): String

    Permalink

    Return the file extension string for the given output format string.

    Return the file extension string for the given output format string.

    Definition Classes
    ApiImpl
  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getErrorMessage(response: Response): String

    Permalink

    Get the error message from given result response or return a default error message.

    Get the error message from given result response or return a default error message.

    Definition Classes
    ApiImpl
  17. def getResult(response: Response): String

    Permalink

    Get the result JSON string from given result response or return an error message.

    Get the result JSON string from given result response or return an error message.

    Definition Classes
    ApiImpl
  18. def hasError(response: Response): Boolean

    Permalink

    Tell whether the given result response has an error or not.

    Tell whether the given result response has an error or not.

    Definition Classes
    ApiImpl
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. val host: String

    Permalink
  21. def in[U](duration: FiniteDuration)(body: ⇒ U): Unit

    Permalink

    Convenience method to execute a task after a fixed duration of time.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. val logger: LoggingAdapter

    Permalink
  24. def makeRoute(config: Config): Route

    Permalink

    Create and return the route for this app, using the given configuration, if needed.

  25. implicit val materializer: ActorMaterializer

    Permalink
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. val port: Int

    Permalink
  30. val route: Route

    Permalink
  31. val serverConfig: Config

    Permalink
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. implicit val system: ActorSystem

    Permalink
  34. val timeout: String

    Permalink
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. val uploadTimeout: String

    Permalink
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ApiImpl

Inherited from AnyRef

Inherited from Any

Ungrouped