org.apache.cxf.jaxrs.ext.codegen
Class CodeGeneratorProvider
java.lang.Object
org.apache.cxf.jaxrs.ext.codegen.CodeGeneratorProvider
- All Implemented Interfaces:
- RequestHandler
public class CodeGeneratorProvider
- extends Object
- implements RequestHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CODE_QUERY
public static final String CODE_QUERY
- See Also:
- Constant Field Values
LANGUAGE_QUERY
public static final String LANGUAGE_QUERY
- See Also:
- Constant Field Values
OS_QUERY
public static final String OS_QUERY
- See Also:
- Constant Field Values
SOURCE_QUERY
public static final String SOURCE_QUERY
- See Also:
- Constant Field Values
CODE_TYPE_QUERY
public static final String CODE_TYPE_QUERY
- See Also:
- Constant Field Values
CodeGeneratorProvider
public CodeGeneratorProvider()
setUriInfo
@Context
public void setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
setBus
public void setBus(Bus bus)
handleRequest
public javax.ws.rs.core.Response handleRequest(Message m,
ClassResourceInfo resourceClass)
- Specified by:
handleRequest
in interface RequestHandler
doHandleRequest
protected javax.ws.rs.core.Response doHandleRequest(Message m,
ClassResourceInfo resourceClass)
removeCode
public void removeCode(ClassResourceInfo cri)
getStem
protected String getStem(ClassResourceInfo cri,
String suffix)
getWadl
protected String getWadl(Message m,
ClassResourceInfo resourceClass)
setImportsComparator
public void setImportsComparator(Comparator<String> importsComparator)
setGenerateInterfaces
public void setGenerateInterfaces(boolean generateInterfaces)
setPackageName
public void setPackageName(String name)
setResourceName
public void setResourceName(String name)
Apache CXF