All Methods Instance Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
boolean |
addSchemaDocument(SchemaCollection col,
List<String> tnsList,
Document d,
String systemId,
boolean hackAroundEmptyNamespaceIssue) |
protected boolean |
compareOperations(OperationResourceInfo ori1,
OperationResourceInfo ori2) |
protected ElementQNameResolver |
createElementQNameResolver(JAXBContext context) |
protected WadlGenerator.SchemaWriter |
createSchemaWriter(ResourceTypes resourceTypes,
JAXBContext context,
javax.ws.rs.core.UriInfo ui) |
protected void |
doFilter(javax.ws.rs.container.ContainerRequestContext context,
Message m) |
protected void |
doHandleClassParams(OperationResourceInfo ori,
StringBuilder sb,
Map<Parameter,Object> params,
boolean isJson,
ParameterType... pType) |
protected void |
doHandleJaxrsBeanParamClassParams(OperationResourceInfo ori,
StringBuilder sb,
Map<Parameter,Object> params,
boolean isJson,
ParameterType... pType) |
protected void |
doWriteParam(OperationResourceInfo ori,
StringBuilder sb,
Parameter pm,
Class<?> type,
Type genericType,
String paramName,
Annotation[] anns,
boolean isJson) |
protected void |
endMethodRequestTag(StringBuilder sb,
OperationResourceInfo ori) |
protected void |
endMethodResponseTag(StringBuilder sb,
OperationResourceInfo ori) |
protected void |
endMethodTag(StringBuilder sb,
OperationResourceInfo ori) |
protected void |
endResourceTag(StringBuilder sb,
OperationResourceInfo ori) |
void |
filter(javax.ws.rs.container.ContainerRequestContext context) |
StringBuilder |
generateWADL(String baseURI,
List<ClassResourceInfo> cris,
boolean isJson,
Message m,
javax.ws.rs.core.UriInfo ui) |
List<String> |
getAllowList() |
protected String |
getBaseURI(Message m,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
getExistingResource(Message m,
javax.ws.rs.core.UriInfo ui,
String href) |
javax.ws.rs.core.Response |
getExistingWadl(Message m,
javax.ws.rs.core.UriInfo ui,
javax.ws.rs.core.MediaType mt) |
protected String |
getPath(String path) |
List<String> |
getPrivateAddresses() |
List<ClassResourceInfo> |
getResourcesList(Message m,
javax.ws.rs.core.UriInfo ui) |
protected void |
handleClassJavaDocs(ClassResourceInfo cri,
StringBuilder sb) |
protected boolean |
handleDocs(Annotation[] anns,
StringBuilder sb,
String category,
boolean allowDefault,
boolean isJson) |
protected void |
handleDynamicSubresource(StringBuilder sb,
Set<Class<?>> jaxbTypes,
ElementQNameResolver qnameResolver,
Map<Class<?>,QName> clsMap,
OperationResourceInfo ori,
ClassResourceInfo subcri,
boolean isJson) |
protected void |
handleGrammars(StringBuilder sbApp,
StringBuilder sbGrammars,
WadlGenerator.SchemaWriter writer,
Map<Class<?>,QName> clsMap) |
protected boolean |
handleOperation(StringBuilder sb,
Set<Class<?>> jaxbTypes,
ElementQNameResolver qnameResolver,
Map<Class<?>,QName> clsMap,
OperationResourceInfo ori,
Map<Parameter,Object> classParams,
OperationResourceInfo nextOp,
boolean resourceTagOpened,
boolean isJson,
int index) |
protected void |
handleOperJavaDocs(OperationResourceInfo ori,
StringBuilder sb) |
protected void |
handleOperParamJavaDocs(OperationResourceInfo ori,
int paramIndex,
StringBuilder sb) |
protected void |
handleOperResponseJavaDocs(OperationResourceInfo ori,
StringBuilder sb) |
protected void |
handleParameter(StringBuilder sb,
Set<Class<?>> jaxbTypes,
ElementQNameResolver qnameResolver,
Map<Class<?>,QName> clsMap,
OperationResourceInfo ori,
Parameter pm,
boolean isJson) |
protected void |
handleParams(StringBuilder sb,
OperationResourceInfo ori,
ParameterType type,
boolean isJson) |
protected void |
handlePathAndMatrixClassParams(OperationResourceInfo ori,
StringBuilder sb,
Map<Parameter,Object> params,
boolean isJson) |
protected void |
handlePathAndMatrixParams(StringBuilder sb,
OperationResourceInfo ori,
boolean isJson) |
protected void |
handleRepresentation(StringBuilder sb,
Set<Class<?>> jaxbTypes,
ElementQNameResolver qnameResolver,
Map<Class<?>,QName> clsMap,
OperationResourceInfo ori,
Class<?> type,
boolean isJson,
boolean inbound) |
protected void |
handleResource(StringBuilder sb,
Set<Class<?>> jaxbTypes,
ElementQNameResolver qnameResolver,
Map<Class<?>,QName> clsMap,
ClassResourceInfo cri,
Set<ClassResourceInfo> visitedResources,
boolean isJson) |
void |
setAddResourceAndMethodIds(boolean addResourceAndMethodIds) |
void |
setAllowList(List<String> allowList) |
void |
setApplicationTitle(String applicationTitle) |
void |
setApplyStylesheetLocally(boolean applyStylesheetLocally) |
void |
setCheckAbsolutePathSlash(boolean checkAbsolutePathSlash) |
void |
setConvertResourcesToDOM(boolean convertResourcesToDOM) |
void |
setDefaultMediaType(String mt)
Set the default WADL response media type.
|
void |
setDefaultRepresentationMediaType(String mt)
Set the default representation media type to be used
if JAX-RS Produces or Consumes annotation is missing.
|
void |
setDocumentationProvider(DocumentationProvider p) |
void |
setDocumentationProvider(List<DocumentationProvider> ps) |
void |
setExternalLinks(List<String> externalLinks) |
void |
setExtraClasses(List<Class<?>> extraClasses)
The list of classes which should be added to the generated scheme also.
|
void |
setIgnoreForwardSlash(boolean ignoreForwardSlash) |
void |
setIgnoreMessageWriters(boolean ignoreMessageWriters) |
void |
setIgnoreOverloadedMethods(boolean ignore) |
void |
setIgnoreRequests(boolean ignoreRequests) |
void |
setIncludeDefaultWadlSchemaLocation(boolean inc) |
void |
setIncrementNamespacePrefix(boolean incrementNamespacePrefix) |
void |
setJavaDocPath(String path) |
void |
setJavaDocPaths(String... paths) |
void |
setJavaDocURLs(URL[] javaDocURLs) |
void |
setJaxbContextProperties(Map<String,Object> jaxbContextProperties) |
void |
setKeepRelativeDocLinks(boolean keepRelativeDocLinks) |
void |
setLinkAnyMediaTypeToXmlSchema(boolean link) |
void |
setLinkJsonToXmlSchema(boolean link)
Deprecated.
|
void |
setNamespacePrefix(String prefix) |
void |
setPrivateAddresses(List<String> privateAddresses) |
void |
setResolver(ElementQNameResolver resolver) |
void |
setResourceIdGenerator(ResourceIdGenerator idGen) |
void |
setSchemaLocations(List<String> locations) |
void |
setSingleResourceMultipleMethods(boolean singleResourceMultipleMethods) |
void |
setStylesheetReference(String stylesheetReference) |
void |
setSupportCollections(boolean support) |
void |
setSupportJaxbSubstitutions(boolean supportJaxbSubstitutions) |
void |
setSupportJaxbXmlType(boolean supportJaxbXmlType) |
void |
setUseJaxbContextForQnames(boolean checkJaxbOnly) |
void |
setUsePathParamsToCompareOperations(boolean usePathParamsToCompareOperations) |
void |
setUseSingleSlashResource(boolean useSingleSlashResource) |
void |
setWadlNamespace(String namespace) |
void |
setWadlSchemaLocation(String loc) |
protected List<OperationResourceInfo> |
sortOperationsByPath(Set<OperationResourceInfo> ops) |
protected void |
startMethodRequestTag(StringBuilder sb,
OperationResourceInfo ori) |
protected void |
startMethodResponseTag(StringBuilder sb,
OperationResourceInfo ori) |
protected void |
startMethodTag(StringBuilder sb,
OperationResourceInfo ori) |
protected void |
startResourceTag(StringBuilder sb,
ClassResourceInfo cri,
String path) |
protected void |
startResourceTag(StringBuilder sb,
OperationResourceInfo ori,
String path) |