Tabnine Logo
org.jboss.resteasy.client.core
Code IndexAdd Tabnine to your IDE (free)

How to use org.jboss.resteasy.client.core

Best Java code snippets using org.jboss.resteasy.client.core (Showing top 20 results out of 315)

origin: org.jboss.resteasy/resteasy-jaxrs-20

protected <T> LinkedList<T> getInterceptors(Class<T> clazz)
{
 InterceptorType interceptorType = InterceptorType
     .getInterceptorTypeFor(clazz);
 if (interceptorType == null)
   return null;
 return getInterceptors(interceptorType);
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

@Override
public <T2> T2 getEntity(Class<T2> type)
{
 return getEntity(type, null);
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

@Override
// this is synchronized to protect against premature finalize called by the GC
protected synchronized final void finalize() throws Throwable
{
 releaseConnection();
}
origin: org.jboss.resteasy/resteasy-legacy

@Override
public <T2> T2 getEntity(Class<T2> type, Type genericType)
{
 return getEntity(type, genericType, getAnnotations(type, genericType));
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

private void applyInterceptors(ClientInterceptorRepositoryImpl repository)
{
 prefixInterceptors.prefixClientInterceptorsTo(repository);
 suffixInterceptors.copyClientInterceptorsTo(repository);
}
origin: org.jboss.resteasy/resteasy-legacy

protected void setWriterInterceptors(
    WriterInterceptor[] writerInterceptors)
{
 setData(InterceptorType.MessageBodyWriter, writerInterceptors);
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

 public synchronized void close() throws IOException
 {
   super.close();
   // Response object is no longer needed and can be finalized
   response = null;
 }
}
origin: org.jboss.resteasy/resteasy-legacy

public static InterceptorType getInterceptorTypeFor(Class<?> type)
{
  for (InterceptorType interceptorType : InterceptorType.values())
  {
   if (type == interceptorType.clazz)
   {
     return interceptorType;
   }
  }
  return null;
}
origin: org.jboss.resteasy/resteasy-legacy

public final void releaseConnection()
{
 if (!wasReleased)
 {
   if (streamFactory != null) streamFactory.performReleaseConnection();
   wasReleased = true;
 }
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

  public void followRedirects()
  {
   setFollowRedirects(true);
  }
}
origin: org.jboss.resteasy/resteasy-legacy

protected <T> LinkedList<T> getInterceptors(Class<T> clazz)
{
 InterceptorType interceptorType = InterceptorType
     .getInterceptorTypeFor(clazz);
 if (interceptorType == null)
   return null;
 return getInterceptors(interceptorType);
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

protected void setReaderInterceptors(
    ReaderInterceptor[] readerInterceptors)
{
 setData(InterceptorType.MessageBodyReader, readerInterceptors);
}
origin: org.jboss.resteasy/resteasy-legacy

@Override
// this is synchronized to protect against premature finalize called by the GC
protected synchronized final void finalize() throws Throwable
{
 releaseConnection();
}
origin: org.jboss.resteasy/resteasy-legacy

 public synchronized void close() throws IOException
 {
   super.close();
   // Response object is no longer needed and can be finalized
   response = null;
 }
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

protected void setWriterInterceptors(
    WriterInterceptor[] writerInterceptors)
{
 setData(InterceptorType.MessageBodyWriter, writerInterceptors);
}
origin: org.jboss.resteasy/resteasy-legacy

@Override
public void close()
{
 releaseConnection();
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

protected void setExecutionInterceptors(
    Collection<ClientExecutionInterceptor> executionInterceptorList)
{
 setData(InterceptorType.ClientExecution, executionInterceptorList);
}
origin: org.jboss.resteasy/resteasy-jaxrs-20

@Override
public void close()
{
 releaseConnection();
}
origin: org.jboss.resteasy/resteasy-legacy

protected void setExecutionInterceptors(
    ClientExecutionInterceptor[] executionInterceptors)
{
 setData(InterceptorType.ClientExecution, executionInterceptors);
}
origin: org.jboss.resteasy/resteasy-legacy

protected void setExecutionInterceptors(
    Collection<ClientExecutionInterceptor> executionInterceptorList)
{
 setData(InterceptorType.ClientExecution, executionInterceptorList);
}
org.jboss.resteasy.client.core

Most used classes

  • ApacheHttpClient4Executor
  • BaseClientResponse
  • BaseClientResponse$BaseClientResponseStreamFactory
  • SelfExpandingBufferredInputStream
    Extension of BufferedInputStream enforcing the contract where reset() always returns to the beginnin
  • DefaultEntityExtractorFactory
  • URLConnectionClientExecutor,
  • ClientErrorHandler,
  • ClientRequestContext,
  • EntityExtractor,
  • EntityExtractorFactory,
  • ClientMarshallerFactory,
  • Marshaller,
  • BaseClientResponse$InputStreamWrapper,
  • ClientErrorInterceptor,
  • ClientInterceptorRepository,
  • ClientInterceptorRepositoryImpl$InterceptorType,
  • ClientInterceptorRepositoryImpl,
  • ClientInvoker,
  • ClientInvokerModifier
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