public GetNotFoundHandler ( ) : IServiceStackHandler | ||
return | IServiceStackHandler |
public IServiceStackHandler GetNotFoundHandler()
{
IServiceStackHandler httpHandler = null;
if (CustomErrorHttpHandlers != null)
{
CustomErrorHttpHandlers.TryGetValue(HttpStatusCode.NotFound, out httpHandler);
}
return httpHandler ?? new NotFoundHttpHandler();
}