Apache CXF API

org.apache.cxf.transport.websocket.atmosphere
Class AtmosphereWebSocketHandler.AtmosphereWebSocketServletHolder

java.lang.Object
  extended by org.apache.cxf.transport.websocket.atmosphere.AtmosphereWebSocketHandler.AtmosphereWebSocketServletHolder
All Implemented Interfaces:
WebSocketServletHolder
Enclosing class:
AtmosphereWebSocketHandler

protected static class AtmosphereWebSocketHandler.AtmosphereWebSocketServletHolder
extends Object
implements WebSocketServletHolder


Constructor Summary
AtmosphereWebSocketHandler.AtmosphereWebSocketServletHolder(org.atmosphere.websocket.WebSocket webSocket)
           
 
Method Summary
 String getAuthType()
           
 String getContextPath()
           
 javax.servlet.DispatcherType getDispatcherType()
           
 String getLocalAddr()
           
 Locale getLocale()
           
 Enumeration<Locale> getLocales()
           
 String getLocalName()
           
 int getLocalPort()
           
 String getPathInfo()
           
 String getPathTranslated()
           
 String getProtocol()
           
 String getRemoteAddr()
           
 String getRemoteHost()
           
 int getRemotePort()
           
 String getRequestURI()
           
 StringBuffer getRequestURL()
           
 String getScheme()
           
 String getServerName()
           
 int getServerPort()
           
 javax.servlet.ServletContext getServletContext()
           
 String getServletPath()
           
 Principal getUserPrincipal()
           
 boolean isSecure()
           
 void write(byte[] data, int offset, int length)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtmosphereWebSocketHandler.AtmosphereWebSocketServletHolder

public AtmosphereWebSocketHandler.AtmosphereWebSocketServletHolder(org.atmosphere.websocket.WebSocket webSocket)
Method Detail

getAuthType

public String getAuthType()
Specified by:
getAuthType in interface WebSocketServletHolder

getContextPath

public String getContextPath()
Specified by:
getContextPath in interface WebSocketServletHolder

getLocalAddr

public String getLocalAddr()
Specified by:
getLocalAddr in interface WebSocketServletHolder

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface WebSocketServletHolder

getLocalPort

public int getLocalPort()
Specified by:
getLocalPort in interface WebSocketServletHolder

getLocale

public Locale getLocale()
Specified by:
getLocale in interface WebSocketServletHolder

getLocales

public Enumeration<Locale> getLocales()
Specified by:
getLocales in interface WebSocketServletHolder

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface WebSocketServletHolder

getRemoteAddr

public String getRemoteAddr()
Specified by:
getRemoteAddr in interface WebSocketServletHolder

getRemoteHost

public String getRemoteHost()
Specified by:
getRemoteHost in interface WebSocketServletHolder

getRemotePort

public int getRemotePort()
Specified by:
getRemotePort in interface WebSocketServletHolder

getRequestURI

public String getRequestURI()
Specified by:
getRequestURI in interface WebSocketServletHolder

getRequestURL

public StringBuffer getRequestURL()
Specified by:
getRequestURL in interface WebSocketServletHolder

getDispatcherType

public javax.servlet.DispatcherType getDispatcherType()
Specified by:
getDispatcherType in interface WebSocketServletHolder

isSecure

public boolean isSecure()
Specified by:
isSecure in interface WebSocketServletHolder

getPathInfo

public String getPathInfo()
Specified by:
getPathInfo in interface WebSocketServletHolder

getPathTranslated

public String getPathTranslated()
Specified by:
getPathTranslated in interface WebSocketServletHolder

getScheme

public String getScheme()
Specified by:
getScheme in interface WebSocketServletHolder

getServerName

public String getServerName()
Specified by:
getServerName in interface WebSocketServletHolder

getServletPath

public String getServletPath()
Specified by:
getServletPath in interface WebSocketServletHolder

getServerPort

public int getServerPort()
Specified by:
getServerPort in interface WebSocketServletHolder

getServletContext

public javax.servlet.ServletContext getServletContext()
Specified by:
getServletContext in interface WebSocketServletHolder

getUserPrincipal

public Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface WebSocketServletHolder

write

public void write(byte[] data,
                  int offset,
                  int length)
           throws IOException
Specified by:
write in interface WebSocketServletHolder
Throws:
IOException

Apache CXF API

Apache CXF