Skip to main content

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

ServiceStack.StaticContent

Parameters
TypeName
System.Stringpath

Save(String, StaticContent)

View Source
Declaration
public override void Save(string path, StaticContent content)
Parameters
TypeName
System.Stringpath
ServiceStack.StaticContentcontent

Inherited Methods

Get(String)

View Source
Declaration
public virtual StaticContent Get(string path)
Returns

ServiceStack.StaticContent

Parameters
TypeName
System.Stringpath

ProcessRequestAsync(IRequest, IResponse, String)

View Source
Declaration
public override async Task ProcessRequestAsync(IRequest httpReq, IResponse httpRes, string operationName)
Returns

System.Threading.Tasks.Task

Parameters
TypeName
ServiceStack.Web.IRequesthttpReq
ServiceStack.Web.IResponsehttpRes
System.StringoperationName

RewriteImageUri(String)

View Source
Declaration
public virtual string RewriteImageUri(string imageUri)
Returns

System.String

Parameters
TypeName
System.StringimageUri

Save(String, StaticContent)

View Source
Declaration
public virtual void Save(string path, StaticContent content)
Parameters
TypeName
System.Stringpath
ServiceStack.StaticContentcontent

Implements