PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.web.core
Class HTTPContext

java.lang.Object
  extended by org.picketlink.identity.federation.web.core.HTTPContext
All Implemented Interfaces:
ProtocolContext

public class HTTPContext
extends Object
implements ProtocolContext

Protocol Context based on HTTP

Since:
Sep 17, 2009
Author:
Anil.Saldhana@redhat.com

Field Summary
protected  javax.servlet.http.HttpServletRequest request
           
protected  javax.servlet.http.HttpServletResponse response
           
protected  javax.servlet.ServletContext servletContext
           
 
Constructor Summary
HTTPContext(javax.servlet.http.HttpServletRequest httpReq, javax.servlet.http.HttpServletResponse httpResp, javax.servlet.ServletContext sctx)
           
 
Method Summary
 String family()
          What family the context belongs to..
 QName getQName()
          Return the QName of the token
 javax.servlet.http.HttpServletRequest getRequest()
           
 javax.servlet.http.HttpServletResponse getResponse()
           
 javax.servlet.ServletContext getServletContext()
           
 String serviceName()
          An optional service name
 HTTPContext setRequest(javax.servlet.http.HttpServletRequest req)
           
 HTTPContext setResponse(javax.servlet.http.HttpServletResponse resp)
           
 HTTPContext setServletContext(javax.servlet.ServletContext sctx)
           
 String tokenType()
          A String that represents the token type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected javax.servlet.http.HttpServletRequest request

response

protected javax.servlet.http.HttpServletResponse response

servletContext

protected javax.servlet.ServletContext servletContext
Constructor Detail

HTTPContext

public HTTPContext(javax.servlet.http.HttpServletRequest httpReq,
                   javax.servlet.http.HttpServletResponse httpResp,
                   javax.servlet.ServletContext sctx)
Method Detail

getRequest

public javax.servlet.http.HttpServletRequest getRequest()

getResponse

public javax.servlet.http.HttpServletResponse getResponse()

getServletContext

public javax.servlet.ServletContext getServletContext()

setRequest

public HTTPContext setRequest(javax.servlet.http.HttpServletRequest req)

setResponse

public HTTPContext setResponse(javax.servlet.http.HttpServletResponse resp)

setServletContext

public HTTPContext setServletContext(javax.servlet.ServletContext sctx)

serviceName

public String serviceName()
Description copied from interface: ProtocolContext
An optional service name

Specified by:
serviceName in interface ProtocolContext
Returns:
See Also:
ProtocolContext.serviceName()

tokenType

public String tokenType()
Description copied from interface: ProtocolContext
A String that represents the token type

Specified by:
tokenType in interface ProtocolContext
Returns:
See Also:
ProtocolContext.tokenType()

getQName

public QName getQName()
Description copied from interface: ProtocolContext
Return the QName of the token

Specified by:
getQName in interface ProtocolContext
Returns:

family

public String family()
Description copied from interface: ProtocolContext
What family the context belongs to..

Specified by:
family in interface ProtocolContext
Returns:
See Also:
ProtocolContext.family()

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.