@Deprecated public class RestSwaggerServlet extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
RestSwaggerServlet()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
String |
getApiContextIdPattern()
Deprecated.
|
void |
init(javax.servlet.ServletConfig config)
Deprecated.
|
boolean |
isApiContextIdListing()
Deprecated.
|
boolean |
isTranslateContextPath()
Deprecated.
|
void |
setApiContextIdListing(boolean apiContextIdListing)
Deprecated.
Sets whether listing of all available CamelContext's with REST services in the JVM is enabled.
|
void |
setApiContextIdPattern(String apiContextIdPattern)
Deprecated.
Optional CamelContext id pattern to only allow Rest APIs from rest services within CamelContext's which name matches the pattern.
|
void |
setTranslateContextPath(boolean translateContextPath)
Deprecated.
Sets whether the context path of the request should be translated (true) or used as-is (false)
Optional, Defaults to true
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic String getApiContextIdPattern()
public void setApiContextIdPattern(String apiContextIdPattern)
EndpointHelper.matchPattern(String, String)apiContextIdPattern - the patternpublic boolean isApiContextIdListing()
public void setApiContextIdListing(boolean apiContextIdListing)
public boolean isTranslateContextPath()
public void setTranslateContextPath(boolean translateContextPath)
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected 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.ServletExceptionIOExceptionApache Camel