Tabnine Logo
ResteasyDeploymentImpl.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.jboss.resteasy.core.ResteasyDeploymentImpl
constructor

Best Java code snippets using org.jboss.resteasy.core.ResteasyDeploymentImpl.<init> (Showing top 7 results out of 315)

origin: resteasy/Resteasy

public static ResteasyDeployment start(String bindPath, SecurityDomain domain) throws Exception
{
 ResteasyDeployment deployment = new ResteasyDeploymentImpl();
 deployment.setSecurityEnabled(true);
 return start(bindPath, domain, deployment);
}
origin: resteasy/Resteasy

public static ResteasyDeployment start(String bindPath, SecurityDomain domain) throws Exception
{
 ResteasyDeployment deployment = new ResteasyDeploymentImpl();
 deployment.setSecurityEnabled(true);
 return start(bindPath, domain, deployment);
}
origin: resteasy/Resteasy

public static ResteasyDeployment start(String bindPath, SecurityDomain domain, Hashtable<String,String> initParams, Hashtable<String,String> contextParams) throws Exception
{
 ResteasyDeployment deployment = new ResteasyDeploymentImpl();
 deployment.setSecurityEnabled(true);
 return start(bindPath, domain, deployment, initParams, contextParams);
}
origin: resteasy/Resteasy

/**
* Creates a web deployment for the jaxrs Application.  Will ignore any @ApplicationPath annotation.
*
* @param application
* @param mapping resteasy.servlet.mapping.prefix
* @return
*/
public DeploymentInfo undertowDeployment(Class<? extends Application> application, String mapping)
{
 ResteasyDeployment deployment = new ResteasyDeploymentImpl();
 deployment.setApplicationClass(application.getName());
 DeploymentInfo di = undertowDeployment(deployment, mapping);
 di.setClassLoader(application.getClassLoader());
 return di;
}
origin: resteasy/Resteasy

  public UndertowJaxrsServer deployToServer(UndertowJaxrsServer server, Class<? extends Application> application, String contextPath) {
   ResteasyDeployment deployment = new ResteasyDeploymentImpl();
   deployment.setApplicationClass(application.getName());

   DeploymentInfo di = server.undertowDeployment(deployment);

   di.setClassLoader(application.getClassLoader());
   di.setContextPath(contextPath);
   di.setDeploymentName("Resteasy" + contextPath);
   return server.deploy(di);
  }
}
origin: resteasy/Resteasy

/**
* Creates a web deployment for the jaxrs Application.  Will ignore any @ApplicationPath annotation.
*
* @param application
* @param contextPath
* @return
*/
public UndertowJaxrsServer deploy(Application application, String contextPath)
{
 if (contextPath == null) contextPath = "/";
 if (!contextPath.startsWith("/")) contextPath = "/" + contextPath;
 ResteasyDeployment deployment = new ResteasyDeploymentImpl();
 deployment.setApplication(application);
 DeploymentInfo di = undertowDeployment(deployment);
 di.setClassLoader(application.getClass().getClassLoader());
 di.setContextPath(contextPath);
 di.setDeploymentName("Resteasy" + contextPath);
 return deploy(di);
}
origin: resteasy/Resteasy

/**
* Creates a web deployment for the jaxrs Application.  Will ignore any @ApplicationPath annotation.
*
* @param application
* @param contextPath
* @return
*/
public UndertowJaxrsServer deploy(Class<? extends Application> application, String contextPath)
{
 if (contextPath == null) contextPath = "/";
 if (!contextPath.startsWith("/")) contextPath = "/" + contextPath;
 ResteasyDeployment deployment = new ResteasyDeploymentImpl();
 deployment.setApplicationClass(application.getName());
 DeploymentInfo di = undertowDeployment(deployment);
 di.setClassLoader(application.getClassLoader());
 di.setContextPath(contextPath);
 di.setDeploymentName("Resteasy" + contextPath);
 return deploy(di);
}
org.jboss.resteasy.coreResteasyDeploymentImpl<init>

Popular methods of ResteasyDeploymentImpl

  • createApplication
  • createFromInjectorFactory
  • getDefaultContextObjects
  • getRegistry
  • getResourceFactories
  • processApplication
  • registerJndiComponentResource
  • registerProvider
  • registration
  • setRegistry
  • startInternal
  • startInternal

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • Menu (java.awt)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Table (org.hibernate.mapping)
    A relational table
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now