6.4.0 (Oct 5, 2017)
The major change in this release is the project structure.
The library now consists of the following artifacts found in the Maven group "org.apache.juneau"
:
Category | Maven Artifacts | Description | Prereqs |
---|---|---|---|
Juneau Core | juneau-marshall | Serializers and parsers for:
|
|
juneau-marshall-rdf |
Serializers and parsers for:
|
|
|
juneau-dto |
Data Transfer Objects for:
|
|
|
juneau-svl | Simple Variable Language API |
|
|
juneau-config | Configuration file API |
|
|
Juneau REST | juneau-rest-server | REST Servlet API |
|
juneau-rest-server-jaxrs | Optional JAX-RS support |
|
|
juneau-rest-client | REST Client API |
|
|
Juneau Microservice | juneau-microservice-server | REST Microservice Server API |
|
juneau-microservice-template | Developer template project |
|
|
Examples | juneau-examples-core |
Core code examples | |
juneau-examples-rest |
REST code examples | ||
Juneau All | juneau-all |
Combination of the following:
|
|
@Pojo
and @BeanProperty(swap)
annotations.
PojoSwaps
, this can be used to provide customized
output for specific content types.
SerializeException
/ParseException
.
getClass()
to retrieve the annotation value could not be called before calling
the super ()
method.
toString()
method.
Swagger.toString()
produces JSON and the HTML5 Form.toString()
produces HTML.
init(RestConfig)
- Use {@link oajr.annotation.HookEvent#INIT} instead.
onSuccess(RestRequest, RestResponse, long)
- Use {@link oajr.annotation.HookEvent#END_CALL} instead.
onPreCall(RestRequest)
- Use {@link oajr.annotation.HookEvent#PRE_CALL} instead.
onPostCall(RestRequest, RestResponse)
- Use {@link oajr.annotation.HookEvent#POST_CALL} instead.
RestResource.contextPath()
-
RestContext.REST_allowHeaderParams
setting.
RestResource.allowMethodParam()
-
RestContext.REST_allowMethodParam
setting.
RestContext.REST_allowBodyParam
setting.
RestContext.REST_xxx
setting.
RestContext.REST_useStackTraceHashes
setting.
RestContext.REST_defaultCharset
setting.
RestResource.paramFormat()
-
RestContext.REST_paramFormat
setting.
RestContext.REST_defaultCharset
setting.
RestMethod.paramFormat()
-
RestContext.REST_paramFormat
setting.
?stylesheet
query parameter.
RestServletJenaDefault
class to remove the Jena dependency class on
the juneau-rest-server
artifact.
BasicRestServlet
and add the RDF serializers and
parsers.
jetty.xml
file
for maximum flexibility instead of the hodge-podge of support in the config file.
jetty.xml
file.
RestMicroservice
:
addServlet(Servlet,String)
addServletAttribute(String,Object)
getServer()
getInstance()
getPort()
getContextPath()
getProtocol()
getHostName()
JettyLogger
for directing Jetty logging to the
java.util.logging framework.
DebugResource
for viewing and generating
Jetty thread dumps through REST calls.