Class AbstractBayeuxContext
java.lang.Object
org.cometd.server.websocket.common.AbstractBayeuxContext
- All Implemented Interfaces:
BayeuxContext
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractBayeuxContext(jakarta.servlet.ServletContext context, String uri, String query, Map<String,List<String>> headers, Map<String,List<String>> parameters, Principal principal, jakarta.servlet.http.HttpSession session, InetSocketAddress local, InetSocketAddress remote, List<Locale> locales, String protocol, boolean secure)
-
Method Summary
Modifier and TypeMethodDescriptiongetContextAttribute(String name)
getContextInitParameter(String name)
getHeaderValues(String name)
getHttpSessionAttribute(String name)
getParameter(String name)
getParameterValues(String name)
getRequestAttribute(String name)
getURL()
void
boolean
isSecure()
boolean
isUserInRole(String role)
void
setHttpSessionAttribute(String name, Object value)
-
Constructor Details
-
AbstractBayeuxContext
public AbstractBayeuxContext(jakarta.servlet.ServletContext context, String uri, String query, Map<String,List<String>> headers, Map<String,List<String>> parameters, Principal principal, jakarta.servlet.http.HttpSession session, InetSocketAddress local, InetSocketAddress remote, List<Locale> locales, String protocol, boolean secure)
-
-
Method Details
-
getURL
- Specified by:
getURL
in interfaceBayeuxContext
-
getHeader
- Specified by:
getHeader
in interfaceBayeuxContext
-
getHeaderValues
- Specified by:
getHeaderValues
in interfaceBayeuxContext
-
getParameter
- Specified by:
getParameter
in interfaceBayeuxContext
-
getParameterValues
- Specified by:
getParameterValues
in interfaceBayeuxContext
-
getUserPrincipal
- Specified by:
getUserPrincipal
in interfaceBayeuxContext
-
isUserInRole
- Specified by:
isUserInRole
in interfaceBayeuxContext
-
getHttpSessionId
- Specified by:
getHttpSessionId
in interfaceBayeuxContext
-
getHttpSessionAttribute
- Specified by:
getHttpSessionAttribute
in interfaceBayeuxContext
-
setHttpSessionAttribute
- Specified by:
setHttpSessionAttribute
in interfaceBayeuxContext
-
invalidateHttpSession
public void invalidateHttpSession()- Specified by:
invalidateHttpSession
in interfaceBayeuxContext
-
getRemoteAddress
- Specified by:
getRemoteAddress
in interfaceBayeuxContext
-
getLocalAddress
- Specified by:
getLocalAddress
in interfaceBayeuxContext
-
getLocales
- Specified by:
getLocales
in interfaceBayeuxContext
-
getCookie
- Specified by:
getCookie
in interfaceBayeuxContext
-
getRequestAttribute
- Specified by:
getRequestAttribute
in interfaceBayeuxContext
-
getContextAttribute
- Specified by:
getContextAttribute
in interfaceBayeuxContext
-
getContextInitParameter
- Specified by:
getContextInitParameter
in interfaceBayeuxContext
-
getContextPath
- Specified by:
getContextPath
in interfaceBayeuxContext
-
getProtocol
- Specified by:
getProtocol
in interfaceBayeuxContext
-
isSecure
public boolean isSecure()- Specified by:
isSecure
in interfaceBayeuxContext
-