public class HTTPContext extends Object implements ProtocolContext
Modifier and Type | Field and Description |
---|---|
protected HttpServletRequest |
request |
protected HttpServletResponse |
response |
protected ServletContext |
servletContext |
Constructor and Description |
---|
HTTPContext(HttpServletRequest httpReq,
HttpServletResponse httpResp,
ServletContext sctx) |
Modifier and Type | Method and Description |
---|---|
String |
family()
What family the context belongs to..
|
QName |
getQName()
Return the QName of the token
|
HttpServletRequest |
getRequest() |
HttpServletResponse |
getResponse() |
ServletContext |
getServletContext() |
String |
serviceName()
An optional service name
|
HTTPContext |
setRequest(HttpServletRequest req) |
HTTPContext |
setResponse(HttpServletResponse resp) |
HTTPContext |
setServletContext(ServletContext sctx) |
String |
tokenType()
A String that represents the token type
|
protected HttpServletRequest request
protected HttpServletResponse response
protected ServletContext servletContext
public HTTPContext(HttpServletRequest httpReq, HttpServletResponse httpResp, ServletContext sctx)
public HttpServletRequest getRequest()
public HttpServletResponse getResponse()
public ServletContext getServletContext()
public HTTPContext setRequest(HttpServletRequest req)
public HTTPContext setResponse(HttpServletResponse resp)
public HTTPContext setServletContext(ServletContext sctx)
public String serviceName()
ProtocolContext
serviceName
in interface ProtocolContext
ProtocolContext.serviceName()
public String tokenType()
ProtocolContext
tokenType
in interface ProtocolContext
ProtocolContext.tokenType()
public QName getQName()
ProtocolContext
getQName
in interface ProtocolContext
public String family()
ProtocolContext
family
in interface ProtocolContext
ProtocolContext.family()
Copyright © 2018 JBoss by Red Hat. All rights reserved.