org.jasig.cas.integration.restlet
Class TicketResource.RestletWebRequest

java.lang.Object
  extended by org.jasig.cas.integration.restlet.TicketResource.RestletWebRequest
All Implemented Interfaces:
org.springframework.web.context.request.RequestAttributes, org.springframework.web.context.request.WebRequest
Enclosing class:
TicketResource

protected class TicketResource.RestletWebRequest
extends Object
implements org.springframework.web.context.request.WebRequest


Field Summary
 
Fields inherited from interface org.springframework.web.context.request.RequestAttributes
REFERENCE_REQUEST, REFERENCE_SESSION, SCOPE_GLOBAL_SESSION, SCOPE_REQUEST, SCOPE_SESSION
 
Constructor Summary
TicketResource.RestletWebRequest(org.restlet.data.Request request)
           
 
Method Summary
 boolean checkNotModified(long lastModifiedTimestamp)
           
 Object getAttribute(String name, int scope)
           
 String[] getAttributeNames(int scope)
           
 String getContextPath()
           
 String getDescription(boolean includeClientInfo)
           
 String getHeader(String s)
           
 Iterator<String> getHeaderNames()
           
 String[] getHeaderValues(String s)
           
 Locale getLocale()
           
 String getParameter(String paramName)
           
 Map<String,String[]> getParameterMap()
           
 Iterator<String> getParameterNames()
           
 String[] getParameterValues(String paramName)
           
 String getRemoteUser()
           
 String getSessionId()
           
 Object getSessionMutex()
           
 Principal getUserPrincipal()
           
 boolean isSecure()
           
 boolean isUserInRole(String role)
           
 void registerDestructionCallback(String name, Runnable callback, int scope)
           
 void removeAttribute(String name, int scope)
           
 Object resolveReference(String s)
           
 void setAttribute(String name, Object value, int scope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicketResource.RestletWebRequest

public TicketResource.RestletWebRequest(org.restlet.data.Request request)
Method Detail

checkNotModified

public boolean checkNotModified(long lastModifiedTimestamp)
Specified by:
checkNotModified in interface org.springframework.web.context.request.WebRequest

getContextPath

public String getContextPath()
Specified by:
getContextPath in interface org.springframework.web.context.request.WebRequest

getDescription

public String getDescription(boolean includeClientInfo)
Specified by:
getDescription in interface org.springframework.web.context.request.WebRequest

getLocale

public Locale getLocale()
Specified by:
getLocale in interface org.springframework.web.context.request.WebRequest

getParameter

public String getParameter(String paramName)
Specified by:
getParameter in interface org.springframework.web.context.request.WebRequest

getParameterMap

public Map<String,String[]> getParameterMap()
Specified by:
getParameterMap in interface org.springframework.web.context.request.WebRequest

getParameterValues

public String[] getParameterValues(String paramName)
Specified by:
getParameterValues in interface org.springframework.web.context.request.WebRequest

getRemoteUser

public String getRemoteUser()
Specified by:
getRemoteUser in interface org.springframework.web.context.request.WebRequest

getUserPrincipal

public Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface org.springframework.web.context.request.WebRequest

isSecure

public boolean isSecure()
Specified by:
isSecure in interface org.springframework.web.context.request.WebRequest

isUserInRole

public boolean isUserInRole(String role)
Specified by:
isUserInRole in interface org.springframework.web.context.request.WebRequest

getAttribute

public Object getAttribute(String name,
                           int scope)
Specified by:
getAttribute in interface org.springframework.web.context.request.RequestAttributes

getAttributeNames

public String[] getAttributeNames(int scope)
Specified by:
getAttributeNames in interface org.springframework.web.context.request.RequestAttributes

getSessionId

public String getSessionId()
Specified by:
getSessionId in interface org.springframework.web.context.request.RequestAttributes

getSessionMutex

public Object getSessionMutex()
Specified by:
getSessionMutex in interface org.springframework.web.context.request.RequestAttributes

registerDestructionCallback

public void registerDestructionCallback(String name,
                                        Runnable callback,
                                        int scope)
Specified by:
registerDestructionCallback in interface org.springframework.web.context.request.RequestAttributes

removeAttribute

public void removeAttribute(String name,
                            int scope)
Specified by:
removeAttribute in interface org.springframework.web.context.request.RequestAttributes

setAttribute

public void setAttribute(String name,
                         Object value,
                         int scope)
Specified by:
setAttribute in interface org.springframework.web.context.request.RequestAttributes

getHeader

public String getHeader(String s)
Specified by:
getHeader in interface org.springframework.web.context.request.WebRequest

getHeaderValues

public String[] getHeaderValues(String s)
Specified by:
getHeaderValues in interface org.springframework.web.context.request.WebRequest

getHeaderNames

public Iterator<String> getHeaderNames()
Specified by:
getHeaderNames in interface org.springframework.web.context.request.WebRequest

getParameterNames

public Iterator<String> getParameterNames()
Specified by:
getParameterNames in interface org.springframework.web.context.request.WebRequest

resolveReference

public Object resolveReference(String s)
Specified by:
resolveReference in interface org.springframework.web.context.request.RequestAttributes


Copyright © 2004-2011 Jasig. All Rights Reserved.