PersistentImagesHandler
Handler to manage persistent images
Assembly: ServiceStack.dll
View Source
Declaration
public class PersistentImagesHandler : ImagesHandler, IHttpAsyncHandler, IHttpHandler, IServiceStackHandler
Properties
VirtualFiles
View Source
Declaration
public IVirtualFiles VirtualFiles { get; }
DirPath
View Source
Declaration
public string DirPath { get; }
Inherited Properties
Fallback
View Source
Declaration
public StaticContent Fallback { get; }
ImageContents
View Source
Declaration
public Dictionary<string, StaticContent> ImageContents { get; }
Path
View Source
Declaration
public string Path { get; }
Methods
Get(String)
View Source
Declaration
public override StaticContent Get(string path)
Returns
Parameters
Type | Name |
---|---|
System.String | path |
Save(String, StaticContent)
View Source
Declaration
public override void Save(string path, StaticContent content)
Parameters
Type | Name |
---|---|
System.String | path |
ServiceStack.StaticContent | content |
Inherited Methods
Get(String)
View Source
Declaration
public virtual StaticContent Get(string path)
Returns
Parameters
Type | Name |
---|---|
System.String | path |
ProcessRequestAsync(IRequest, IResponse, String)
View Source
Declaration
public override async Task ProcessRequestAsync(IRequest httpReq, IResponse httpRes, string operationName)
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
ServiceStack.Web.IRequest | httpReq |
ServiceStack.Web.IResponse | httpRes |
System.String | operationName |
RewriteImageUri(String)
View Source
Declaration
public virtual string RewriteImageUri(string imageUri)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | imageUri |
Save(String, StaticContent)
View Source
Declaration
public virtual void Save(string path, StaticContent content)
Parameters
Type | Name |
---|---|
System.String | path |
ServiceStack.StaticContent | content |
Implements
System.Web.IHttpAsyncHandler
System.Web.IHttpHandler
- ServiceStack.Host.Handlers.IServiceStackHandler