Class BaseSchedulingResource
java.lang.Object
io.milton.http.annotated.scheduling.BaseSchedulingResource
- All Implemented Interfaces:
CollectionResource,DigestResource,ReportableResource,Resource
- Direct Known Subclasses:
SchedulingInboxResource,SchedulingOutboxResource
public abstract class BaseSchedulingResource
extends Object
implements CollectionResource, ReportableResource, DigestResource
Common sub-interface for inbox and outbox scheduling resources
- Author:
- brad
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CalendarSearchServiceprotected final Stringprotected final CalDavPrincipal -
Constructor Summary
ConstructorsConstructorDescriptionBaseSchedulingResource(CalDavPrincipal principal, CalendarSearchService calendarSearchService, String name) -
Method Summary
Modifier and TypeMethodDescriptionauthenticate(DigestResponse digestRequest) authenticate(String user, String password) booleanauthorise(Request request, Request.Method method, Auth auth) checkRedirect(Request request) getName()getRealm()booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.milton.resource.CollectionResource
child, getChildren
-
Field Details
-
principal
-
calendarSearchService
-
name
-
-
Constructor Details
-
BaseSchedulingResource
public BaseSchedulingResource(CalDavPrincipal principal, CalendarSearchService calendarSearchService, String name)
-
-
Method Details
-
getName
-
getUniqueId
- Specified by:
getUniqueIdin interfaceResource
-
authenticate
- Specified by:
authenticatein interfaceResource
-
authorise
-
getRealm
-
getModifiedDate
- Specified by:
getModifiedDatein interfaceResource
-
checkRedirect
- Specified by:
checkRedirectin interfaceResource- Throws:
NotAuthorizedExceptionBadRequestException
-
authenticate
- Specified by:
authenticatein interfaceDigestResource
-
isDigestAllowed
public boolean isDigestAllowed()- Specified by:
isDigestAllowedin interfaceDigestResource
-