|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet com.prolifics.servlet.ProlificsHttpServlet
public class ProlificsHttpServlet
Prolifics servlet. This servlet passes the HTTP requests to
a Prolifics application, and outputs the result from the Prolifics
application to the browser.
The following methods in HttpServletRequest are used by ProlificsHttpServlet
(see the Sun Servlet documentation for details):
String getAuthType() int getContentLength() String getContentType() Cookie[] getCookies() String getHeader(String name) Enumeration getHeaderNames() ServletInputStream getInputStream() String getMethod() String getPathInfo() String getPathTranslated() String getProtocol() String getQueryString() String getRemoteAddr() String getRemoteHost() String getRemoteUser() String getRequestURI() String getServerName() int getServerPort() String getServletPath()
# void addCookie(Cookie cookie) ServletOutputStream getOutputStream() void setContentLength(int length) void setContentType(String type) void setHeader(String name, String value) void setStatus(int) void setStatus(int code, String message)
Constructor Summary | |
---|---|
ProlificsHttpServlet()
|
Method Summary | |
---|---|
void |
doDelete(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Passes the DELETE request to a Prolifics application. |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Passes the GET request to a Prolifics application. |
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String appname,
java.lang.Boolean chunked)
Passes the GET request to a Prolifics application. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Passes the POST request to a Prolifics application. |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String appname,
java.lang.Boolean chunked)
Passes the POST request to a Prolifics application. |
void |
doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Passes the PUT request to a Prolifics application. |
java.lang.String |
getServletInfo()
Describes the servlet. |
void |
init(javax.servlet.ServletConfig config)
|
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doOptions, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProlificsHttpServlet()
Method Detail |
---|
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
req
- The request objectres
- The response object
java.io.IOException
- IOException.
javax.servlet.ServletException
- ServletException.public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String appname, java.lang.Boolean chunked) throws javax.servlet.ServletException, java.io.IOException
req
- The request object.res
- The response object.appname
- The name of the Prolifics application that should handle the request.chunked
- Controls the use of Transfer-encoding: chunked.
TRUE
= chunkedFALSE
= not chunkednull
= decide automaticallyjava.io.IOException
- IOException.
javax.servlet.ServletException
- ServletException.public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
req
- The request objectres
- The response object
java.io.IOException
- IOException.
javax.servlet.ServletException
- ServletException.public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, java.lang.String appname, java.lang.Boolean chunked) throws javax.servlet.ServletException, java.io.IOException
req
- The request object.res
- The response object.appname
- The name of the Prolifics application that should handle the request.chunked
- Controls the use of Transfer-encoding: chunked.
TRUE
= chunkedFALSE
= not chunkednull
= decide automaticallyjava.io.IOException
- IOException.
javax.servlet.ServletException
- ServletException.public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
public void doDelete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doDelete
in class javax.servlet.http.HttpServlet
req
- The request objectres
- The response object
java.io.IOException
- IOException.
javax.servlet.ServletException
- ServletException.public void doPut(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doPut
in class javax.servlet.http.HttpServlet
req
- The request objectres
- The response object
java.io.IOException
- IOException.
javax.servlet.ServletException
- ServletException.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |