org.apache.shindig.gadgets.http
Class DefaultRequestPipeline
java.lang.Object
org.apache.shindig.gadgets.http.DefaultRequestPipeline
- All Implemented Interfaces:
- RequestPipeline
public class DefaultRequestPipeline
- extends Object
- implements RequestPipeline
A standard implementation of a request pipeline. Performs request caching and
signing on top of standard HTTP requests.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRequestPipeline
@Inject
public DefaultRequestPipeline(HttpFetcher httpFetcher,
HttpCache httpCache,
com.google.inject.Provider<OAuthRequest> oauthRequestProvider,
ResponseRewriterRegistry responseRewriterRegistry,
InvalidationService invalidationService,
@Nullable
HttpResponseMetadataHelper metadataHelper)
execute
public HttpResponse execute(HttpRequest request)
throws GadgetException
- Description copied from interface:
RequestPipeline
- Execute the given request.
TODO: This should throw a custom exception type.
- Specified by:
execute in interface RequestPipeline
- Throws:
GadgetException
normalizeProtocol
protected void normalizeProtocol(HttpRequest request)
throws GadgetException
- Throws:
GadgetException
Copyright © 2007-2012. All Rights Reserved.