메소드 | 설명 | |
---|---|---|
AllowSetCookie ( IRequest req, string cookieName ) : bool | ||
ApplyCustomHandlerRequestFilters ( IRequest httpReq, IResponse httpRes ) : bool |
Apply PreRequest Filters for participating Custom Handlers, e.g. RazorFormat, MarkdownFormat, etc
|
|
ApplyMessageRequestFilters ( IRequest req, IResponse res, object requestDto ) : bool | ||
ApplyMessageResponseFilters ( IRequest req, IResponse res, object response ) : bool | ||
ApplyPreAuthenticateFilters ( IRequest httpReq, IResponse httpRes ) : void |
Apply PreAuthenticate Filters from IAuthWithRequest AuthProviders
|
|
ApplyPreRequestFilters ( IRequest httpReq, IResponse httpRes ) : bool |
Applies the raw request filters. Returns whether or not the request has been handled and no more processing should be done.
|
|
ApplyRequestConverters ( IRequest req, object requestDto ) : object | ||
ApplyRequestFilters ( IRequest req, IResponse res, object requestDto ) : bool |
Applies the request filters. Returns whether or not the request has been handled and no more processing should be done.
|
|
ApplyResponseConverters ( IRequest req, object responseDto ) : object | ||
ApplyResponseFilters ( IRequest req, IResponse res, object response ) : bool |
Applies the response filters. Returns whether or not the request has been handled and no more processing should be done.
|
|
AssertContentType ( string contentType ) : void | ||
AssertFeatures ( Feature usesFeatures ) : void | ||
ExecTypedFilters ( ITypedFilter>.Dictionary |
||
ExportSoapOperationTypes ( List |
||
ExportSoapType ( |
||
GetAuthRepository ( IRequest req = null ) : IAuthRepository | ||
GetCacheClient ( IRequest req ) : ICacheClient |
Tries to resolve
|
|
GetCookies ( IHttpResponse res ) : ICookies | ||
GetCustomErrorHandler ( HttpStatusCode errorStatus ) : IServiceStackHandler | ||
GetCustomErrorHandler ( int errorStatusCode ) : IServiceStackHandler | ||
GetCustomErrorHttpHandler ( HttpStatusCode errorStatus ) : IHttpHandler | ||
GetDbConnection ( IRequest req = null ) : IDbConnection |
Gets IDbConnection Checks if DbInfo is seat in RequestContext. See multitenancy: https://github.com/ServiceStack/ServiceStack/wiki/Multitenancy Called by itself,
|
|
GetDefaultSessionExpiry ( IRequest req ) : System.TimeSpan | ||
GetMemoryCacheClient ( IRequest req ) : MemoryCacheClient |
Returns
|
|
GetMessageProducer ( IRequest req = null ) : IMessageProducer |
Returns
|
|
GetNotFoundHandler ( ) : IServiceStackHandler | ||
GetRedisClient ( IRequest req = null ) : IRedisClient |
Resolves
|
|
GetServiceGateway ( IRequest req ) : IServiceGateway | ||
GetTypesConfigForMetadata ( IRequest req ) : |
||
HandleErrorResponse ( IRequest httpReq, IResponse httpRes, HttpStatusCode errorStatus, string errorStatusDescription = null ) : void | ||
HasAccessToMetadata ( IRequest httpReq, IResponse httpRes ) : bool | ||
HasFeature ( Feature feature ) : bool | ||
HasValidAuthSecret ( IRequest httpReq ) : bool | ||
OnAfterExecute ( IRequest req, object requestDto, object response ) : object | ||
OnExceptionTypeFilter ( |
||
OnLogError ( |
||
OnSaveSession ( IRequest httpReq, IAuthSession session, System.TimeSpan expiresIn = null ) : void | ||
OnSessionFilter ( IAuthSession session, string withSessionId ) : IAuthSession |
Inspect or modify ever new UserSession created or resolved from cache. return null if Session is invalid to create new Session.
|
|
ResolveResponseException ( |
||
TryGetCurrentRequest ( ) : IRequest |
메소드 | 설명 | |
---|---|---|
ApplyRequestFiltersSingle ( IRequest req, IResponse res, object requestDto ) : bool | ||
ApplyResponseFiltersSingle ( IRequest req, IResponse res, object response ) : bool |
public AllowSetCookie ( IRequest req, string cookieName ) : bool | ||
req | IRequest | |
cookieName | string | |
리턴 | bool |
public ApplyCustomHandlerRequestFilters ( IRequest httpReq, IResponse httpRes ) : bool | ||
httpReq | IRequest | |
httpRes | IResponse | |
리턴 | bool |
public ApplyMessageRequestFilters ( IRequest req, IResponse res, object requestDto ) : bool | ||
req | IRequest | |
res | IResponse | |
requestDto | object | |
리턴 | bool |
public ApplyMessageResponseFilters ( IRequest req, IResponse res, object response ) : bool | ||
req | IRequest | |
res | IResponse | |
response | object | |
리턴 | bool |
public ApplyPreAuthenticateFilters ( IRequest httpReq, IResponse httpRes ) : void | ||
httpReq | IRequest | |
httpRes | IResponse | |
리턴 | void |
public ApplyPreRequestFilters ( IRequest httpReq, IResponse httpRes ) : bool | ||
httpReq | IRequest | |
httpRes | IResponse | |
리턴 | bool |
public ApplyRequestConverters ( IRequest req, object requestDto ) : object | ||
req | IRequest | |
requestDto | object | |
리턴 | object |
public ApplyRequestFilters ( IRequest req, IResponse res, object requestDto ) : bool | ||
req | IRequest | |
res | IResponse | |
requestDto | object | |
리턴 | bool |
protected ApplyRequestFiltersSingle ( IRequest req, IResponse res, object requestDto ) : bool | ||
req | IRequest | |
res | IResponse | |
requestDto | object | |
리턴 | bool |
public ApplyResponseConverters ( IRequest req, object responseDto ) : object | ||
req | IRequest | |
responseDto | object | |
리턴 | object |
public ApplyResponseFilters ( IRequest req, IResponse res, object response ) : bool | ||
req | IRequest | |
res | IResponse | |
response | object | |
리턴 | bool |
protected ApplyResponseFiltersSingle ( IRequest req, IResponse res, object response ) : bool | ||
req | IRequest | |
res | IResponse | |
response | object | |
리턴 | bool |
public AssertContentType ( string contentType ) : void | ||
contentType | string | |
리턴 | void |
public AssertFeatures ( Feature usesFeatures ) : void | ||
usesFeatures | Feature | |
리턴 | void |
public ExecTypedFilters ( ITypedFilter>.Dictionary |
||
typedFilters | ITypedFilter>.Dictionary | |
req | IRequest | |
res | IResponse | |
dto | object | |
리턴 | void |
public ExportSoapOperationTypes ( List |
||
operationTypes | List |
|
리턴 | List |
public GetAuthRepository ( IRequest req = null ) : IAuthRepository | ||
req | IRequest | |
리턴 | IAuthRepository |
public GetCacheClient ( IRequest req ) : ICacheClient | ||
req | IRequest | Provided by services and pageView, can be helpfull when overriding this method |
리턴 | ICacheClient |
public GetCookies ( IHttpResponse res ) : ICookies | ||
res | IHttpResponse | |
리턴 | ICookies |
public GetCustomErrorHandler ( HttpStatusCode errorStatus ) : IServiceStackHandler | ||
errorStatus | HttpStatusCode | |
리턴 | IServiceStackHandler |
public GetCustomErrorHandler ( int errorStatusCode ) : IServiceStackHandler | ||
errorStatusCode | int | |
리턴 | IServiceStackHandler |
public GetCustomErrorHttpHandler ( HttpStatusCode errorStatus ) : IHttpHandler | ||
errorStatus | HttpStatusCode | |
리턴 | IHttpHandler |
public GetDbConnection ( IRequest req = null ) : IDbConnection | ||
req | IRequest | Provided by services and pageView, can be helpfull when overriding this method |
리턴 | IDbConnection |
public GetDefaultSessionExpiry ( IRequest req ) : System.TimeSpan | ||
req | IRequest | |
리턴 | System.TimeSpan |
public GetMemoryCacheClient ( IRequest req ) : MemoryCacheClient | ||
req | IRequest | Provided by services and pageView, can be helpfull when overriding this method |
리턴 | MemoryCacheClient |
public GetMessageProducer ( IRequest req = null ) : IMessageProducer | ||
req | IRequest | Provided by services and PageViewBase, can be helpfull when overriding this method |
리턴 | IMessageProducer |
public GetNotFoundHandler ( ) : IServiceStackHandler | ||
리턴 | IServiceStackHandler |
public GetRedisClient ( IRequest req = null ) : IRedisClient | ||
req | IRequest | Provided by services and pageView, can be helpfull when overriding this method |
리턴 | IRedisClient |
public GetServiceGateway ( IRequest req ) : IServiceGateway | ||
req | IRequest | |
리턴 | IServiceGateway |
public GetTypesConfigForMetadata ( IRequest req ) : |
||
req | IRequest | |
리턴 |
public HandleErrorResponse ( IRequest httpReq, IResponse httpRes, HttpStatusCode errorStatus, string errorStatusDescription = null ) : void | ||
httpReq | IRequest | |
httpRes | IResponse | |
errorStatus | HttpStatusCode | |
errorStatusDescription | string | |
리턴 | void |
public HasAccessToMetadata ( IRequest httpReq, IResponse httpRes ) : bool | ||
httpReq | IRequest | |
httpRes | IResponse | |
리턴 | bool |
public HasValidAuthSecret ( IRequest httpReq ) : bool | ||
httpReq | IRequest | |
리턴 | bool |
public OnAfterExecute ( IRequest req, object requestDto, object response ) : object | ||
req | IRequest | |
requestDto | object | |
response | object | |
리턴 | object |
public OnExceptionTypeFilter ( |
||
ex | ||
responseStatus | ServiceStack.ResponseStatus | |
리턴 | void |
public OnLogError ( |
||
type | ||
message | string | |
innerEx | ||
리턴 | void |
public OnSaveSession ( IRequest httpReq, IAuthSession session, System.TimeSpan expiresIn = null ) : void | ||
httpReq | IRequest | |
session | IAuthSession | |
expiresIn | System.TimeSpan | |
리턴 | void |
public OnSessionFilter ( IAuthSession session, string withSessionId ) : IAuthSession | ||
session | IAuthSession | |
withSessionId | string | |
리턴 | IAuthSession |
public ResolveResponseException ( |
||
ex | ||
리턴 |