org.jasig.schedassist.impl.caldav
Class NoopHttpMethodInterceptorImpl
java.lang.Object
org.jasig.schedassist.impl.caldav.NoopHttpMethodInterceptorImpl
- All Implemented Interfaces:
- HttpMethodInterceptor
public class NoopHttpMethodInterceptorImpl
- extends Object
- implements HttpMethodInterceptor
Does nothing to the HttpMethod.
- Version:
- $ Id: NoopHttpMethodInterceptorImpl.java $
- Author:
- Nicholas Blair
|
Method Summary |
org.apache.commons.httpclient.HttpMethod |
doWithMethod(org.apache.commons.httpclient.HttpMethod method,
ICalendarAccount onBehalfOf)
Implementations will receive the HttpMethod just before the
HttpClient.executeMethod(HttpMethod) is called on it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopHttpMethodInterceptorImpl
public NoopHttpMethodInterceptorImpl()
doWithMethod
public org.apache.commons.httpclient.HttpMethod doWithMethod(org.apache.commons.httpclient.HttpMethod method,
ICalendarAccount onBehalfOf)
- Description copied from interface:
HttpMethodInterceptor
- Implementations will receive the
HttpMethod just before the
HttpClient.executeMethod(HttpMethod) is called on it.
Implementations are allowed to mutate the method as needed, but MUST never return null.
- Specified by:
doWithMethod in interface HttpMethodInterceptor
onBehalfOf - the ICalendarAccount that matches the account the request will be on behalf of
- Returns:
- the CalDAV implementation-specific altered
HttpMethod
Copyright © 2011 Jasig. All Rights Reserved.