Skip to main content

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

ServiceStack.Web.IRestPath

Parameters
TypeName
System.StringhttpMethod
System.StringpathInfo

ExecuteMessage(IMessage)

Executes the MQ DTO request.

View Source
Declaration
object ExecuteMessage(IMessage mqMessage)
Returns

System.Object

Parameters
TypeName
ServiceStack.Messaging.IMessagemqMessage

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
TypeName
ServiceStack.Messaging.IMessagedto
ServiceStack.Web.IRequestrequest

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
TypeName
System.ObjectrequestDto
ServiceStack.Web.IRequestrequest

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
TypeName
System.ObjectrequestDto
ServiceStack.Web.IRequestrequest
System.BooleanapplyFilters

Execute(Object)

Executes the DTO request with an empty request context.

View Source
Declaration
object Execute(object requestDto)
Returns

System.Object

Parameters
TypeName
System.ObjectrequestDto

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
TypeName
ServiceStack.Web.IRequestrequest
System.BooleanapplyFilters

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
TypeName
System.ObjectrequestDto
ServiceStack.Web.IRequestreq
System.BooleanapplyFilters