Package org.sonatype.plexus.rest.resource

Examples of org.sonatype.plexus.rest.resource.RestletResource


    this.context = context;
  }

  @Override
  public Handler createTarget(Request request, Response response) {
    RestletResource restletResource = new NexusRestletResource(getContext(), request, response, plexusResource);

    // init must-have stuff
    restletResource.setContext(context);
    restletResource.setRequest(request);
    restletResource.setResponse(response);

    return restletResource;
  }
View Full Code Here


    this.context = context;
  }

  public Handler createTarget(Request request, Response response) {
    RestletResource restletResource = new RestletResource(context, request, response, plexusResource);

    // init must-have stuff
    restletResource.setContext(context);
    restletResource.setRequest(request);
    restletResource.setResponse(response);

    return restletResource;
  }
View Full Code Here

TOP

Related Classes of org.sonatype.plexus.rest.resource.RestletResource

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.