|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.restlet.Handler
org.restlet.resource.Resource
org.jasig.cas.integration.restlet.TicketResource
public class TicketResource
Handles the creation of Ticket Granting Tickets.
| Nested Class Summary | |
|---|---|
protected class |
TicketResource.RestletWebRequest
|
| Constructor Summary | |
|---|---|
TicketResource()
|
|
| Method Summary | |
|---|---|
void |
acceptRepresentation(org.restlet.resource.Representation entity)
|
boolean |
allowGet()
|
boolean |
allowPost()
|
protected org.restlet.data.Status |
determineStatus()
Template method for determining which status to return on a successful ticket creation. |
protected Credentials |
obtainCredentials()
|
| Methods inherited from class org.restlet.resource.Resource |
|---|
allowDelete, allowPut, delete, getPreferredRepresentation, getPreferredVariant, getRepresentation, getVariants, handleDelete, handleGet, handlePost, handlePut, init, isAvailable, isModifiable, isNegotiateContent, isReadable, post, put, removeRepresentations, represent, represent, setAvailable, setModifiable, setNegotiateContent, setReadable, setVariants, storeRepresentation |
| Methods inherited from class org.restlet.Handler |
|---|
allowHead, allowOptions, generateRef, getAllowedMethods, getApplication, getContext, getLogger, getMatrix, getQuery, getRequest, getResponse, handleHead, handleOptions, setContext, setRequest, setResponse, updateAllowedMethods |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TicketResource()
| Method Detail |
|---|
public final boolean allowGet()
allowGet in class org.restlet.resource.Resourcepublic final boolean allowPost()
allowPost in class org.restlet.resource.Resource
public final void acceptRepresentation(org.restlet.resource.Representation entity)
throws org.restlet.resource.ResourceException
acceptRepresentation in class org.restlet.resource.Resourceorg.restlet.resource.ResourceExceptionprotected org.restlet.data.Status determineStatus()
protected Credentials obtainCredentials()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||