All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.higgs.http.server.jaxrs.SimpleRuntimeDelegate Maven / Gradle / Ivy

There is a newer version: 0.0.24
Show newest version
package io.higgs.http.server.jaxrs;

import org.kohsuke.MetaInfServices;

import javax.ws.rs.core.Application;
import javax.ws.rs.core.Link;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriBuilder;
import javax.ws.rs.core.Variant;
import javax.ws.rs.ext.RuntimeDelegate;

/**
 * @author Courtney Robinson 
 */
@MetaInfServices(RuntimeDelegate.class)
public class SimpleRuntimeDelegate extends RuntimeDelegate {
    @Override
    public UriBuilder createUriBuilder() {
        throw new UnsupportedOperationException();
    }

    @Override
    public Response.ResponseBuilder createResponseBuilder() {
        return new ResponseBuilder();
    }

    @Override
    public Variant.VariantListBuilder createVariantListBuilder() {
        throw new UnsupportedOperationException();
    }

    @Override
    public  T createEndpoint(Application application, Class endpointType) throws IllegalArgumentException,
            UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    @Override
    public  HeaderDelegate createHeaderDelegate(Class type) throws IllegalArgumentException {
        throw new UnsupportedOperationException();
    }

    @Override
    public Link.Builder createLinkBuilder() {
        throw new UnsupportedOperationException();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy