public static class ContentRewriterFeature.Factory extends Object
| Constructor and Description |
|---|
ContentRewriterFeature.Factory(GadgetSpecFactory specFactory,
ContentRewriterFeature.DefaultConfig defaultConfig) |
| Modifier and Type | Method and Description |
|---|---|
ContentRewriterFeature.Config |
createRewriteAllFeature(int ttl)
Create a rewriter feature that allows all URIs to be rewritten.
|
ContentRewriterFeature.Config |
get(GadgetSpec spec) |
ContentRewriterFeature.Config |
get(HttpRequest request) |
ContentRewriterFeature.Config |
get(Uri gadgetUri) |
ContentRewriterFeature.Config |
getDefault() |
@Inject public ContentRewriterFeature.Factory(GadgetSpecFactory specFactory, ContentRewriterFeature.DefaultConfig defaultConfig)
public ContentRewriterFeature.Config getDefault()
public ContentRewriterFeature.Config get(HttpRequest request)
public ContentRewriterFeature.Config get(Uri gadgetUri)
public ContentRewriterFeature.Config get(GadgetSpec spec)
public ContentRewriterFeature.Config createRewriteAllFeature(int ttl)
Copyright © 2007-2012. All Rights Reserved.