Package com.documents4j.ws

Examples of com.documents4j.ws.ConverterServerInformation


    @GET
    @Produces(MediaType.APPLICATION_XML)
    public Response serverInformation() {
        return Response
                .status(ConverterNetworkProtocol.Status.OK.getStatusCode())
                .entity(new ConverterServerInformation(
                        webConverterConfiguration.getConverter().isOperational(),
                        webConverterConfiguration.getTimeout(),
                        ConverterNetworkProtocol.CURRENT_PROTOCOL_VERSION,
                        webConverterConfiguration.getConverter().getSupportedConversions()))
                .type(MediaType.APPLICATION_XML_TYPE)
View Full Code Here

TOP

Related Classes of com.documents4j.ws.ConverterServerInformation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.