java.lang.Object
org.roller.presentation.xmlrpc.BaseAPIHandler
- Direct Known Subclasses:
- BloggerAPIHandler
- public class BaseAPIHandler
- extends java.lang.Object
Base API handler does user validation, provides exception types, etc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mLogger
private static org.apache.commons.logging.Log mLogger
AUTHORIZATION_EXCEPTION
public static final int AUTHORIZATION_EXCEPTION
- See Also:
- Constant Field Values
AUTHORIZATION_EXCEPTION_MSG
public static final java.lang.String AUTHORIZATION_EXCEPTION_MSG
- See Also:
- Constant Field Values
UNKNOWN_EXCEPTION
public static final int UNKNOWN_EXCEPTION
- See Also:
- Constant Field Values
UNKNOWN_EXCEPTION_MSG
public static final java.lang.String UNKNOWN_EXCEPTION_MSG
- See Also:
- Constant Field Values
BLOGGERAPI_DISABLED
public static final int BLOGGERAPI_DISABLED
- See Also:
- Constant Field Values
BLOGGERAPI_DISABLED_MSG
public static final java.lang.String BLOGGERAPI_DISABLED_MSG
- See Also:
- Constant Field Values
UNSUPPORTED_EXCEPTION
public static final int UNSUPPORTED_EXCEPTION
- See Also:
- Constant Field Values
UNSUPPORTED_EXCEPTION_MSG
public static final java.lang.String UNSUPPORTED_EXCEPTION_MSG
- See Also:
- Constant Field Values
INVALID_POSTID
public static final int INVALID_POSTID
- See Also:
- Constant Field Values
INVALID_POSTID_MSG
public static final java.lang.String INVALID_POSTID_MSG
- See Also:
- Constant Field Values
NOBLOGS_EXCEPTION
public static final int NOBLOGS_EXCEPTION
- See Also:
- Constant Field Values
NOBLOGS_EXCEPTION_MSG
public static final java.lang.String NOBLOGS_EXCEPTION_MSG
- See Also:
- Constant Field Values
BaseAPIHandler
public BaseAPIHandler()
validate
protected void validate(java.lang.String username,
java.lang.String password)
throws java.lang.Exception
flushPageCache
protected void flushPageCache(java.lang.String user)
throws java.lang.Exception