IServiceController
Responsible for executing the operation within the specified context.
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IServiceController : IServiceExecutor
Methods
GetRestPathForRequest(String, String)
Returns the first matching RestPath
View Source
Declaration
IRestPath GetRestPathForRequest(string httpMethod, string pathInfo)
Returns
Parameters
Type | Name |
---|---|
System.String | httpMethod |
System.String | pathInfo |
ExecuteMessage(IMessage)
Executes the MQ DTO request.
View Source
Declaration
object ExecuteMessage(IMessage mqMessage)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessage | mqMessage |
ExecuteMessage(IMessage, IRequest)
Executes the MQ DTO request with the supplied request context
View Source
Declaration
object ExecuteMessage(IMessage dto, IRequest request)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Messaging.IMessage | dto |
ServiceStack.Web.IRequest | request |
Execute(Object, IRequest)
Executes the DTO request under the supplied request context.
View Source
Declaration
object Execute(object requestDto, IRequest request)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | requestDto |
ServiceStack.Web.IRequest | request |
Execute(Object, IRequest, Boolean)
Executes the DTO request under supplied context and option to Execute Request/Response Filters.
View Source
Declaration
object Execute(object requestDto, IRequest request, bool applyFilters)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | requestDto |
ServiceStack.Web.IRequest | request |
System.Boolean | applyFilters |
Execute(Object)
Executes the DTO request with an empty request context.
View Source
Declaration
object Execute(object requestDto)
Returns
System.Object
Parameters
Type | Name |
---|---|
System.Object | requestDto |
Execute(IRequest, Boolean)
Executes the DTO request with the current HttpRequest and option to Execute Request/Response Filters.
View Source
Declaration
object Execute(IRequest request, bool applyFilters)
Returns
System.Object
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | request |
System.Boolean | applyFilters |
GatewayExecuteAsync(Object, IRequest, Boolean)
Execute Service Gateway Requests
View Source
Declaration
Task<object> GatewayExecuteAsync(object requestDto, IRequest req, bool applyFilters)
Returns
System.Threading.Tasks.Task<System.Object>
Parameters
Type | Name |
---|---|
System.Object | requestDto |
ServiceStack.Web.IRequest | req |
System.Boolean | applyFilters |