@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, service
public 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.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Apache Camel