public class JavadocResolver
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String |
ARTIFACT_ID |
static String |
GROUP_ID |
static String |
RELEASE_ID |
Constructor and Description |
---|
JavadocResolver() |
Modifier and Type | Method and Description |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
static String |
getRequestURL(javax.servlet.http.HttpServletRequest req)
Gets the request url.
|
static String |
getTomcatFolder()
Gets the tomcat folder.
|
protected void |
sendError(javax.servlet.http.HttpServletResponse response,
int status,
String message)
Send error.
|
protected static void |
urlRedirect(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse response,
String redirectURI)
Url redirect.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final String ARTIFACT_ID
public static final String RELEASE_ID
public static final String GROUP_ID
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public static String getRequestURL(javax.servlet.http.HttpServletRequest req)
req
- the reqpublic static String getTomcatFolder()
protected void sendError(javax.servlet.http.HttpServletResponse response, int status, String message) throws IOException
response
- the responsestatus
- the statusmessage
- the messageIOException
- Signals that an I/O exception has occurred.protected static void urlRedirect(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse response, String redirectURI) throws IOException
req
- the reqresponse
- the responseredirectURI
- the redirect uriIOException
- Signals that an I/O exception has occurred.Copyright © 2016. All Rights Reserved.