public class HttpBindServlet
extends javax.servlet.http.HttpServlet
HttpSession related to the connection or if one needs to be created and then passes it
off to the HttpBindManager for processing of the client request and formulating of the
response.| Constructor and Description |
|---|
HttpBindServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
createErrorBody(String type,
String condition) |
protected void |
createNewSession(javax.servlet.AsyncContext context,
HttpBindBody body) |
void |
destroy() |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected static String |
getRemoteAddress(javax.servlet.AsyncContext context) |
void |
init(javax.servlet.ServletConfig servletConfig) |
protected void |
processContent(javax.servlet.AsyncContext context,
String content) |
static void |
respond(HttpSession session,
javax.servlet.AsyncContext context,
String content,
boolean async) |
protected static void |
sendLegacyError(javax.servlet.AsyncContext context,
BoshBindingError error) |
protected static void |
sendLegacyError(javax.servlet.AsyncContext context,
BoshBindingError error,
String message) |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void processContent(javax.servlet.AsyncContext context,
String content)
throws IOException
IOExceptionprotected void createNewSession(javax.servlet.AsyncContext context,
HttpBindBody body)
throws IOException
IOExceptionpublic static void respond(HttpSession session, javax.servlet.AsyncContext context, String content, boolean async) throws IOException
IOExceptionprotected static void sendLegacyError(javax.servlet.AsyncContext context,
BoshBindingError error,
String message)
throws IOException
IOExceptionprotected static void sendLegacyError(javax.servlet.AsyncContext context,
BoshBindingError error)
throws IOException
IOExceptionprotected static String getRemoteAddress(javax.servlet.AsyncContext context)
Copyright © 2003–2020 Ignite Realtime. All rights reserved.