org.mashupbots.socko

rest

package rest

Visibility
  1. Public
  2. All

Type Members

  1. trait AllowableValues extends AnyRef

    Identifies a org.mashupbots.socko.rest.RestRequest parameter validation

    Identifies a org.mashupbots.socko.rest.RestRequest parameter validation

    Note that valueType must be in the constructor otherwise it will not be be json serialized.

  2. case class AllowableValuesList[T](values: List[T], valueType: String = "LIST") extends AllowableValues with Product with Serializable

  3. case class AllowableValuesRange[T](min: T, max: T, valueType: String = "RANGE") extends AllowableValues with Product with Serializable

  4. case class BodyBinding(config: RestConfig, registration: BodyParam, tpeCategory: RequestBodyDataType.Value, tpe: scala.reflect.api.JavaUniverse.Type, objectClass: Option[Class[_]], required: Boolean) extends RequestParamBinding with Product with Serializable

    Binds a value in the request class to a value in the request body

    Binds a value in the request class to a value in the request body

    Example

    case class(context: RestRequestContext, @RestBody() pet: Pet) extends RestRequest
    • name = pet
    • tpe = Pet
    • clz = Class.forName("my.package.Pet")
    • description = ""
    • required = true
    config

    REST config

    registration

    Parameter meta data

    tpeCategory

    Our categorization of the type of the field

    tpe

    Type of the field

    objectClass

    For object fields that needs to be deserialized, this is the Java class of the field. For other categories of deserialization (primitive, bytes, etc) this is set to None and not used.

    required

    Flag to indicate if this field is required or not. If not, it must be of type Option[_]

  5. case class BodyParam(name: String, description: String = "") extends RequestParam with Product with Serializable

    Parameter that binds to a value in the header

    Parameter that binds to a value in the header

    name

    Name of the request parameter

    description

    Short description of the parameter

  6. case class ByteArrayDataSerializer(responseDataTerm: scala.reflect.api.JavaUniverse.TermSymbol, rm: Mirror) extends NonVoidDataSerializer with Product with Serializable

    Serialize a byte array (hint: this does not do much!)

    Serialize a byte array (hint: this does not do much!)

    responseDataTerm

    Name of field used to store response data. For case class StringResponse(context: RestResponseContext, data: String) extends RestResponse, the term is data.

    rm

    Mirror used to extract the value of responseDataTerm from the response object

  7. case class ByteSeqDataSerializer(responseDataTerm: scala.reflect.api.JavaUniverse.TermSymbol, rm: Mirror) extends NonVoidDataSerializer with Product with Serializable

    Serialize a byte sequence (hint: this does not do much!)

    Serialize a byte sequence (hint: this does not do much!)

    responseDataTerm

    Name of field used to store response data. For case class StringResponse(context: RestResponseContext, data: String) extends RestResponse, the term is data.

    rm

    Mirror used to extract the value of responseDataTerm from the response object

  8. abstract class DataSerializer extends AnyRef

    Serializes data into a byte array

  9. case class Error(code: Int, reason: String) extends Product with Serializable

    Details a HTTP error

    Details a HTTP error

    code

    HTTP response status code

    reason

    Text description of the error

  10. case class HeaderBinding(config: RestConfig, registration: HeaderParam, tpe: scala.reflect.api.JavaUniverse.Type, required: Boolean) extends PrimitiveParamBinding with Product with Serializable

    Binds a value in the request class to a value in the request header

    Binds a value in the request class to a value in the request header

    Example

    case class(context: RestRequestContext, @RestHeader() rows: Int) extends RestRequest
    • name = rows
    • tpe = Int
    • description = ""
    • required = true
    config

    REST config

    registration

    Parameter meta data

    tpe

    Type of the field

    required

    Flag to indicate if this field is required or not. If not, it must be of type Option[_]

  11. case class HeaderParam(name: String, description: String = "", headerName: String = "", allowMultiple: Boolean = false, allowableValues: Option[AllowableValues] = None) extends RequestParam with Product with Serializable

    Parameter that binds to a value in the header

    Parameter that binds to a value in the header

    name

    Name of the request parameter

    description

    Short description of the parameter

    headerName

    Name of the header field. If empty (default), then the header field name is assumed to be the same as name.

    allowMultiple

    Specifies that a comma-separated list of values can be passed. Defaults to false.

    allowableValues

    Input validation

  12. case class NoSerializationRestResponse(context: RestResponseContext) extends RestResponse with Product with Serializable

    Class to denote that no serialization is required because it will be custom handled by the REST processing actor

  13. abstract class NonVoidDataSerializer extends DataSerializer

    Encapsulates common aspects of non void serializers

  14. case class ObjectDataSerializer(tpe: scala.reflect.api.JavaUniverse.Type, responseDataTerm: scala.reflect.api.JavaUniverse.TermSymbol, rm: Mirror) extends NonVoidDataSerializer with Product with Serializable

    Serialize an object into a UTF-8 JSON byte array

    Serialize an object into a UTF-8 JSON byte array

    If the data is of type Option[] and the value is None, an empty array will be returned.

    tpe

    Type of the data to serialize

    responseDataTerm

    Name of field used to store response data. For case class StringResponse(context: RestResponseContext, data: String) extends RestResponse, the term is data.

    rm

    Mirror used to extract the value of responseDataTerm from the response object

  15. case class PathBinding(config: RestConfig, registration: PathParam, tpe: scala.reflect.api.JavaUniverse.Type, pathIndex: Int) extends PrimitiveParamBinding with Product with Serializable

    Binds a value in the request class to a value in the request uri path

    Binds a value in the request class to a value in the request uri path

    Example

    /path/{Id}
    case class(context: RestRequestContext, @RestPath() id: Int) extends RestRequest
    • name = id
    • tpe = Int
    • description = ""
    • pathIndex = 1
    config

    REST configuration

    registration

    Parameter meta data

    tpe

    Type of the field

    pathIndex

    Index of the value of the field in array of path segments

  16. case class PathParam(name: String, description: String = "", allowableValues: Option[AllowableValues] = None) extends RequestParam with Product with Serializable

    Parameter that binds to a value in the path

    Parameter that binds to a value in the path

    name

    Name of the request parameter

    description

    Short description of the parameter

    allowableValues

    Input validation

  17. case class PathSegment(name: String, isVariable: Boolean) extends Product with Serializable

    Encapsulates a path segment

    Encapsulates a path segment

    Example Usage

    // '{Id}'
    PathSegment("Id", true)
    
    // 'user'
    PathSegment("user", false)
    name

    Name of the variable or static segment

    isVariable

    Flag to denote if this segment is variable and is intended to be bound to a variable or not. If not, it is a static segment

  18. case class PrimitiveDataSerializer(tpe: scala.reflect.api.JavaUniverse.Type, responseDataTerm: scala.reflect.api.JavaUniverse.TermSymbol, rm: Mirror) extends NonVoidDataSerializer with Product with Serializable

    Serialize a primitive into a UTF-8 JSON byte array

    Serialize a primitive into a UTF-8 JSON byte array

    If the data is of type Option[] and the value is None, an empty array will be returned.

    tpe

    Type of the data to serialize

    responseDataTerm

    Name of field used to store response data. For case class StringResponse(context: RestResponseContext, data: String) extends RestResponse, the term is data.

    rm

    Mirror used to extract the value of responseDataTerm from the response object

  19. trait PrimitiveParamBinding extends RequestParamBinding

    Path, QueryString and Header params must bind to a primitive.

    Path, QueryString and Header params must bind to a primitive. This trait holds their common functions.

  20. case class QueryParam(name: String, description: String = "", queryName: String = "", allowMultiple: Boolean = false, allowableValues: Option[AllowableValues] = None) extends RequestParam with Product with Serializable

    Parameter that binds to a value in the query string

    Parameter that binds to a value in the query string

    name

    Name of the request parameter

    description

    Short description of the parameter

    queryName

    Name of the query string field. If empty (default), then the query string field name is assumed to be the same as name.

    allowMultiple

    Specifies that a comma-separated list of values can be passed Defaults to false.

    allowableValues

    Input validation

  21. case class QueryStringBinding(config: RestConfig, registration: QueryParam, tpe: scala.reflect.api.JavaUniverse.Type, required: Boolean) extends PrimitiveParamBinding with Product with Serializable

    Binds a value in the request class to a value in the request query string

    Binds a value in the request class to a value in the request query string

    Example

    /path?rows=1
    case class(context: RestRequestContext, @RestQuery() rows: Option[Int]) extends RestRequest
    • name = rows
    • tpe = Int
    • description = ""
    • required = false
    config

    REST config

    registration

    Parameter meta data

    tpe

    Type of the field

    required

    Flag to indicate if this field is required or not. If not, it must be of type Option[_]

  22. trait RequestParam extends AnyRef

    Identifies a org.mashupbots.socko.rest.RestRequest parameter binding

  23. trait RequestParamBinding extends AnyRef

    Binding of a request value

  24. case class RestBindingException(msg: String) extends Exception with Product with Serializable

    Exception raised during the process of deserializing and dispatching a request

    Exception raised during the process of deserializing and dispatching a request

    msg

    Error message

  25. case class RestConfig(apiVersion: String, rootApiUrl: String, swaggerVersion: String = "1.1", swaggerApiGroupingPathSegment: Int = 1, requestTimeoutSeconds: Int = 60, sockoEventCacheTimeoutSeconds: Int = 5, maxWorkerCount: Int = 100, maxWorkerRescheduleMilliSeconds: Int = 500, reportRuntimeException: ReportRuntimeException.Value = ReportRuntimeException.Never, overrides: Map[String, SwaggerModel] = Map.empty) extends Extension with Product with Serializable

    Configuration for REST handler

    Configuration for REST handler

    This can also be loaded from an externalized AKKA configuration file. For example:

    rest-config {
    # The version of your API. Required.
    api-version="1.0"
    
    # Root path to your API with the scheme, domain and port. Required.
    # This is the path as seen by the end user and not from on the local server.
    root-api-url=http://yourdomain.com/api
    
    # Swagger definition version. Defaults to `1.1` if setting is omitted.
    swagger-version="1.1"
    
    # Path segments to group your APIs into Swagger resources. For exmaple, `/pet` is one resource
    # while `/user` is another. Default is `1` which refers to the first relative path segment.
    swagger-api-grouping-path-segment=1
    
    # Number of seconds before a request is timed out.
    # Defaults to `60` seconds if setting is omitted.
    request-timeout-seconds=60
    
    # Number of seconds before a SockoEvent is removed from the cache and cannot be accessed by
    # your actor. Defaults to `5` if setting is omitted.
    socko-event-cache-timeout-seconds=5
    
    # Maximum number of workers per RestHandler
    # Defaults to 100 if setting is omitted.
    max-worker-count=100
    
    # Reschedule a message for processing again using this delay when max worker count has been reached.
    # Defaults to 500 if setting is omitted
    max-worker-reschedule-milliseconds=500
    
    # Determines if the message from runtime exceptions caught during handing of a REST request is returned
    # to the caller in addition to the HTTP status code. Values are: `Never`, `BadRequestsOnly`,
    # `InternalServerErrorOnly or `All`.
    # Defaults to `Never` if setting is omitted
    report-runtime-exception=Never
    
    # Swagger details overriding the details loaded via reflection
    overrides {
      classes = [{
        name = TestOverrideClass
        description = Test Override Description
        properties = [{
          name = Property1
          type = Int
          description = Description of Property 1
          required = true
        }]
      }]
    }
    
    }

    can be loaded as follows:

    object MyRestHandlerConfig extends ExtensionId[RestConfig] with ExtensionIdProvider {
      override def lookup = MyRestHandlerConfig
      override def createExtension(system: ExtendedActorSystem) =
        new RestConfig(system.settings.config, "rest-config")
    }
    
    val myRestConfig = MyRestHandlerConfig(actorSystem)
    apiVersion

    the version of your API

    rootApiUrl

    Root path to your API with the scheme, domain and port. For example, http://yourdomain.com/api. This is the path as seen by the end user and not from on the local server.

    swaggerVersion

    Swagger definition version

    swaggerApiGroupingPathSegment

    Path segments to group APIs by. Default is 1 which refers to the first relative path segment.

    For example, the following will be grouped under the /pets because the the share pets in the 1st path segment.

    /pets
    /pets/{petId}
    /pets/findById
    requestTimeoutSeconds

    Number of seconds before a request is timed out. Make sure that your processor actor responds within this number of seconds or throws an exception. Defaults to 60 seconds.

    sockoEventCacheTimeoutSeconds

    Number of seconds before a org.mashupbots.socko.events.SockoEvent is removed from the cache and cannot be accessed by the REST processor. Once the REST processor has access to the org.mashupbots.socko.events.SockoEvent, its expiry from the cache does not affect usability. The cache is just used as a means to pass the event. Defaults to 5 seconds.

    maxWorkerCount

    Maximum number of workers per org.mashupbots.socko.rest.RestHandler.

    maxWorkerRescheduleMilliSeconds

    Reschedule a message for processing again using this delay when max worker count has been reached.

    reportRuntimeException

    Determines if the message from runtime exceptions caught during handing of a REST request is returned to the caller in addition to the HTTP status code.

    Two types of exceptions are raised: 400 Bad Requests and 500 Internal Server Error. If turned on, the message will be return in the response and the content type set to text/plain; charset=UTF-8.

    overrides

    Used to override the documentation associated with one or more classes, which will otherwise be created via reflection. The format of the override within application.conf is as follows:

    overrides {
    classes = [{
      name = <class name>
      description = <description>
      properties = [{
        name = <property name>
        type = <property type>
        description = <property description>
        required = <true or false>
        range {min=<min>, max=<max>} or list = [<value1>, <value2>, ... <valueN>] (optional)
      }]
    }]
    }

    where class name = name of class without package (e.g. String instead of java.lang.String) description = brief text description of class property name = name of property within class property type = type of property (int, String, CustomClassName, etc) property description = brief text description of property required = true if property is required, else false if it is optional range or list = allowed values, or disregard if no allowable values are to be documented

  26. case class RestDefintionException(msg: String) extends Exception with Product with Serializable

    Error with your REST definition

  27. case class RestEndPoint(method: String, rootPath: String, relativePath: String) extends Product with Serializable

    The HTTP method and path to a REST operation

    The HTTP method and path to a REST operation

    method

    HTTP method. e.g. GET.

    rootPath

    Root path of the REST service. e.g. /api.

    relativePath

    Path relative to the rootPath for the REST operation

  28. class RestHandler extends Actor with FSM[RestHandlerState, RestHandlerData] with ActorLogging

    The initial processing point for incoming requests.

    The initial processing point for incoming requests. It farms requests out to worker.

    Capacity control is implemented here. The maximum number of workers is limited. When the limit is reached, messages are rescheduled for processing.

  29. trait RestHandlerData extends AnyRef

    FSM data for org.mashupbots.socko.rest.RestHandler

  30. sealed trait RestHandlerState extends AnyRef

    FSM states for org.mashupbots.socko.rest.RestHandler

  31. case class RestHandlerWorkerCountRequest() extends Product with Serializable

    Message that can be sent to a RestHandler to retrieve the current number of workers

  32. class RestHttpWorker extends Actor with FSM[RestHttpWorkerState, RestHttpWorkerData] with ActorLogging

    Processes a HTTP REST request.

    Processes a HTTP REST request.

    Processing steps:

    • Locates operation in the registry and the actor that will be used to process the request
    • Deserailizes the request data
    • Sends the request data to the processing actor
    • Waits for the response data
    • Serializes the response data
  33. trait RestHttpWorkerData extends AnyRef

    FSM data for org.mashupbots.socko.rest.RestHttpWorker

  34. sealed trait RestHttpWorkerState extends AnyRef

    FSM states for org.mashupbots.socko.rest.RestHttpWorker

  35. trait RestModelMetaData extends AnyRef

    Meta data to describe REST model classes.

    Meta data to describe REST model classes. The trait is expected to be implemented by companion objects.

    For example:

    case class Pet(tags: Array[Tag], id: Long, category: Category, status: String, name: String, photoUrls: Array[String])
    
    object Pet extends RestModelMetaData {
      val modelProperties = Seq(
        RestPropertyMetaData("status", "pet status in the store", Some(AllowableValuesList(List("available", "pending", "sold")))))
    }
  36. case class RestNotFoundException(msg: String) extends Exception with Product with Serializable

    Exception raised during if a matching operation cannot be found

    Exception raised during if a matching operation cannot be found

    msg

    Error message

  37. case class RestOperation(registration: RestRegistration, endPoint: RestEndPoint, deserializer: RestRequestDeserializer, serializer: RestResponseSerializer) extends Product with Serializable

    A REST operation processes data in the following manner:

    A REST operation processes data in the following manner:

    registration

    Meta data describing the bindings

    endPoint

    HTTP method and path unique to this operation

    deserializer

    Deserializes incoming data into a org.mashupbots.socko.rest.RestRequest

    serializer

    Serializes a org.mashupbots.socko.rest.RestResponse class to send to the client

  38. case class RestProcessingException(msg: String) extends Exception with Product with Serializable

    Exception raised during the process of a request

    Exception raised during the process of a request

    msg

    Error message

  39. case class RestPropertyMetaData(name: String, description: String, allowableValues: Option[AllowableValues] = None) extends Product with Serializable

    Describes a property in this model class

    Describes a property in this model class

    name

    Name of field

    description

    Brief description of the field

    allowableValues

    Optional allowable list of values or range of values

  40. abstract class RestRegistration extends AnyRef

    Binds a org.mashupbots.socko.rest.RestRequest, org.mashupbots.socko.rest.RestResponse and a processor actor to an end point.

    Binds a org.mashupbots.socko.rest.RestRequest, org.mashupbots.socko.rest.RestResponse and a processor actor to an end point.

    This is implemented as an abstract class rather than a trait so that it is easier to override methods and values.

  41. case class RestRegistry(operations: Seq[RestOperation], swaggerApiDocs: SwaggerApiDocs, config: RestConfig) extends Product with Serializable

    Collection org.mashupbots.socko.rest.RestOperations that will be used to process incoming requests.

    Collection org.mashupbots.socko.rest.RestOperations that will be used to process incoming requests.

    operations

    REST operations that will be used for processing requests

    swaggerApiDocs

    Swagger API documentation

    config

    REST configuration

  42. trait RestRequest extends AnyRef

    A request to be processed by a REST processing actor

  43. case class RestRequestContext(id: UUID, endPoint: EndPoint, headers: ImmutableHttpHeaders, eventType: SockoEventType.Value, timeoutSeconds: Int) extends Product with Serializable

    Provides context to a REST request.

    Provides context to a REST request. Contains request meta-data.

    id

    UUID for this rest request/response pair

    endPoint

    HTTP URL at which the request was received

    headers

    HTTP request headers

    timeoutSeconds

    Number of seconds before this request times out

  44. case class RestRequestDeserializer(config: RestConfig, requestClass: scala.reflect.api.JavaUniverse.ClassSymbol, requestConstructorMirror: scala.reflect.api.JavaUniverse.MethodMirror, requestParamBindings: List[RequestParamBinding]) extends Product with Serializable

    Deserializes incoming request data into a org.mashupbots.socko.rest.RestRequest

    Deserializes incoming request data into a org.mashupbots.socko.rest.RestRequest

    config

    REST config

    requestClass

    Request class

    requestConstructorMirror

    Constructor to call when instancing the request class

    requestParamBindings

    Bindings to extract values form the request data. The values will be passed into the requestConstructor to instance the request class.

  45. trait RestResponse extends AnyRef

    The result of processing a org.mashupbots.socko.rest.RestRequest

  46. case class RestResponseContext(requestContext: RestRequestContext, status: HttpResponseStatus, headers: Map[String, String]) extends Product with Serializable

    Context of the REST response.

    Context of the REST response. Contains response meta-data.

    requestContext

    The request context to which this is a response

    status

    HTTP status

    headers

    HTTP response headers

  47. case class RestResponseSerializer(config: RestConfig, responseClass: scala.reflect.api.JavaUniverse.ClassSymbol, dataSerializer: DataSerializer) extends Logger with Product with Serializable

    Serialized outgoing data from a org.mashupbots.socko.rest.RestResponse

    Serialized outgoing data from a org.mashupbots.socko.rest.RestResponse

    config

    REST configuration

    responseClass

    Response class symbol

    dataSerializer

    Data type specific serializer

  48. case class SwaggerApiDeclaration(apiVersion: String, swaggerVersion: String, basePath: String, resourcePath: String, apis: Seq[SwaggerApiPath], models: Map[String, SwaggerModel]) extends SwaggerDoc with Product with Serializable

    Swagger API declaration

  49. case class SwaggerApiDocs(lookup: Map[String, Array[Byte]]) extends Product with Serializable

    Generated Swagger API documentation

    Generated Swagger API documentation

    lookup

    Map of path and swagger JSON associated with the path

  50. case class SwaggerApiError(code: Int, reason: String) extends Product with Serializable

    API error refers to the HTTP response status code and its description

  51. case class SwaggerApiOperation(httpMethod: String, summary: Option[String], notes: Option[String], deprecated: Option[Boolean], responseClass: String, nickname: String, parameters: Option[Seq[SwaggerApiParameter]], errorResponses: Option[Seq[SwaggerApiError]]) extends Product with Serializable

    API operation refers to a specific HTTP operation that can be performed for a path

  52. case class SwaggerApiParameter(name: String, description: Option[String], paramType: String, dataType: String, required: Option[Boolean], allowableValues: Option[AllowableValues], allowMultiple: Option[Boolean]) extends Product with Serializable

    API parameter refers to a path, body, query string or header parameter in a org.mashupbots.socko.rest.SwaggerApiOperation

  53. case class SwaggerApiPath(path: String, operations: Seq[SwaggerApiOperation]) extends Product with Serializable

    API path refers to a specific path and all the operations for that path

  54. case class SwaggerContext(config: RestConfig, modelRegistry: SwaggerModelRegistry) extends Product with Serializable

  55. trait SwaggerDoc extends AnyRef

  56. case class SwaggerModel(id: String, description: Option[String], properties: Map[String, SwaggerModelProperty]) extends Product with Serializable

    A swagger model complex data type.

    A swagger model complex data type. This is built from reflection of the passed class type

    id

    Unique id

    description

    description

    properties

    List of properties

  57. case class SwaggerModelProperty(type: String, description: Option[String], required: Option[Boolean], allowableValues: Option[AllowableValues], items: Option[Map[String, String]]) extends Product with Serializable

    A swagger model complex data type's properties

    A swagger model complex data type's properties

    type

    Swagger data type

    description

    Description of the property

    required

    Boolean to indicate if the property is required. If None, false is assumed.

    allowableValues

    Optional allowable list or range of values

    items

    Only applicable for containers. Defines the data type of items in a container. For primitives, it is "type":"string". For complex types, it is "ref":"Category".

  58. case class SwaggerModelRegistry(rm: Mirror, overrides: Map[String, SwaggerModel]) extends Product with Serializable

    Registry of swagger models.

    Registry of swagger models. Makes sure that we don't output a model more than once.

    rm

    Runtime Mirror

    overrides

    Model overrides to be used

  59. case class SwaggerResourceListing(apiVersion: String, swaggerVersion: String, basePath: String, apis: Seq[SwaggerResourceListingApi]) extends SwaggerDoc with Product with Serializable

    Swagger resource listing

  60. case class SwaggerResourceListingApi(path: String, description: String) extends Product with Serializable

    Describes a specific resource in the resource listing

  61. case class VoidDataSerializer() extends DataSerializer with Product with Serializable

    Serializes a void response.

    Serializes a void response.

    This is a placeholder because with void, there is no data to serialize.

Value Members

  1. object AllowableValues

    Companion object

  2. object ConfigToOverrides

    Convenience object to read the overrides from the configuration file and reformat them for use in Socko

  3. object Method extends Enumeration

    HTTP method supported by org.mashupbots.socko.rest.RestHandler

  4. object PathSegment extends Serializable

    Factory to parse a string into a path segment

  5. object PrimitiveDataSerializer extends Serializable

    Companion class

  6. object ReportRuntimeException extends Enumeration

    Indicates if we want to return a runtime exception message to the caller

    Indicates if we want to return a runtime exception message to the caller

    Depending on your security requirements, you may wish to turn off errors in production but turn then on in development.

    No error messages are returned by default (Never).

  7. object RequestBodyDataType extends Enumeration

  8. object RequestParamBinding

    Companion object

  9. object RestBindingException extends Serializable

  10. object RestDefintionException extends Serializable

  11. object RestEndPoint extends Serializable

    Companion object

  12. object RestNotFoundException extends Serializable

  13. object RestProcessingException extends Serializable

  14. object RestRegistry extends Logger with Serializable

    Factory to instance a registry

  15. object RestRequestContext extends Serializable

    Companion object

  16. object RestRequestDeserializer extends Serializable

    Companion object

  17. object RestRequestEvents

    Cache of SockoEvents so REST processor actors can access it for custom request deseralization and custom response seralization.

    Cache of SockoEvents so REST processor actors can access it for custom request deseralization and custom response seralization.

    It is NOT passes as part of org.mashupbots.socko.rest.RestRequest because we want org.mashupbots.socko.rest.RestRequest to be fully immutable so that it can optionally be sent to remote actors for processing.

  18. object RestResponseSerializer extends Serializable

    Companion object

  19. object SockoEventType extends Enumeration

    Denotes the type of org.mashupbots.socko.events.SockoEvent that triggered this REST request

  20. object SwaggerApiDeclaration extends Serializable

    Companion object

  21. object SwaggerApiDocs extends Logger with Serializable

    Companion object

  22. object SwaggerApiOperation extends Serializable

    Companion object

  23. object SwaggerApiParameter extends Serializable

    Companion object

  24. object SwaggerApiPath extends Serializable

    Companion object

  25. object SwaggerReflector

    Scala to Swagger conversion

  26. object SwaggerResourceListing extends Serializable

    Companion object

Ungrouped