HTTP method associated with this operation
Path template of this operation.
Path template of this operation.
Path is relative to the root path specified for the REST handler. For example, if the
REST handler path is /api
and this path is /my_operation
, then the full path to this
operation is /api/my_operation
.
The path may contain segments that are variable. For example, in /pet/{id}
, id
is a variable
and can be bound to a parameter in the org.mashupbots.socko.rest.RestRequest.
Locates the actor that will process a request and returns a response.
Locates the actor that will process a request and returns a response.
Actor system in which new actors maybe created
Rest Request to process
ActorRef
of actor to which request
will be sent for processing
Request parameter bindings.
Request parameter bindings.
You can specify org.mashupbots.socko.rest.PathParam, org.mashupbots.socko.rest.QueryParam, org.mashupbots.socko.rest.HeaderParam and/or org.mashupbots.socko.rest.BodyParam.
Flag to denote if the org.mashupbots.socko.events.SockoEvent is to be made accessible from org.mashupbots.socko.rest.RestRequestEvents so that the REST processing actor can access the raw request data for custom deserialization.
Flag to denote if the org.mashupbots.socko.events.SockoEvent is to be made accessible from org.mashupbots.socko.rest.RestRequestEvents so that the REST processing actor can access the raw request data for custom deserialization.
Defaults to false
.
Flag to denote if the org.mashupbots.socko.events.SockoEvent is to be made accessible from org.mashupbots.socko.rest.RestRequestEvents so that the REST processing actor can write data directory to the client.
Flag to denote if the org.mashupbots.socko.events.SockoEvent is to be made
accessible from org.mashupbots.socko.rest.RestRequestEvents so that the REST processing
actor can write data directory to the client. Defaults to false
.
Flag to denote if this operation is deprecated.
Flag to denote if this operation is deprecated.
Programmers are discouraged from using this operation because it is dangerous, or because a
better alternative exists. The default is false
.
Short description.
Short description. Less than 60 characters is recommended.
Default is blank.
Details of possible errors
Name of this operation.
Name of this operation.
If empty, the default is the name of the declaration class without Declaration.
For example, the default name for UpdatePetDeclaration
is UpdatePet
.
Long description.
Long description.
Default is blank.
The type of the org.mashupbots.socko.rest.RestRequest.
The type of the org.mashupbots.socko.rest.RestRequest.
If None
, the default is the same name as the declaration class with Declaration
replaced
with Request
. For example, the default for GetPetDeclaration
is GetPetRequest.
The type of the org.mashupbots.socko.rest.RestResponse.
The type of the org.mashupbots.socko.rest.RestResponse.
If None
, the default is the same name as the declaration class with Declaration
replaced
with Response
. For example, the default for GetPetDeclaration
is GetPetResponse.
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.