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 AbstractHttpMessage.
- Version:
- $ Id: NoopHttpMethodInterceptorImpl.java $
- Author:
- Nicholas Blair
|
Method Summary |
org.apache.http.HttpRequest |
doWithMethod(org.apache.http.HttpRequest method,
ICalendarAccount onBehalfOf)
Implementations will receive the HttpRequest just before the
HttpClient#executeMethod(HttpRequest) 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.http.HttpRequest doWithMethod(org.apache.http.HttpRequest method,
ICalendarAccount onBehalfOf)
- Description copied from interface:
HttpMethodInterceptor
- Implementations will receive the
HttpRequest just before the
HttpClient#executeMethod(HttpRequest) 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
HttpRequest
Copyright © 2012 Jasig. All Rights Reserved.