Package org.jboss.resteasy.client.core
Class ClientInterceptorRepositoryImpl
java.lang.Object
org.jboss.resteasy.client.core.ClientInterceptorRepositoryImpl
- All Implemented Interfaces:
ClientInterceptorRepository
- Direct Known Subclasses:
ClientInvoker
,ClientRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static enum
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
private <T> T[]
protected ClientExecutionInterceptor[]
protected <T> LinkedList<T>
getInterceptors
(Class<T> clazz) protected LinkedList
getInterceptors
(ClientInterceptorRepositoryImpl.InterceptorType interceptorType) LinkedList<javax.ws.rs.ext.ReaderInterceptor>
protected javax.ws.rs.ext.ReaderInterceptor[]
LinkedList<javax.ws.rs.ext.WriterInterceptor>
protected javax.ws.rs.ext.WriterInterceptor[]
void
void
registerInterceptor
(Object interceptor) private void
setData
(ClientInterceptorRepositoryImpl.InterceptorType type, Object[] arr) private void
setData
(ClientInterceptorRepositoryImpl.InterceptorType type, Collection newList) protected void
setExecutionInterceptors
(Collection<ClientExecutionInterceptor> executionInterceptorList) protected void
setExecutionInterceptors
(ClientExecutionInterceptor[] executionInterceptors) protected void
setReaderInterceptors
(javax.ws.rs.ext.ReaderInterceptor[] readerInterceptors) protected void
setWriterInterceptors
(javax.ws.rs.ext.WriterInterceptor[] writerInterceptors)
-
Field Details
-
interceptorLists
-
-
Constructor Details
-
ClientInterceptorRepositoryImpl
public ClientInterceptorRepositoryImpl()
-
-
Method Details
-
getReaderInterceptors
protected javax.ws.rs.ext.ReaderInterceptor[] getReaderInterceptors() -
getWriterInterceptors
protected javax.ws.rs.ext.WriterInterceptor[] getWriterInterceptors() -
getExecutionInterceptors
-
getArray
-
setReaderInterceptors
protected void setReaderInterceptors(javax.ws.rs.ext.ReaderInterceptor[] readerInterceptors) -
setWriterInterceptors
protected void setWriterInterceptors(javax.ws.rs.ext.WriterInterceptor[] writerInterceptors) -
setExecutionInterceptors
-
setExecutionInterceptors
protected void setExecutionInterceptors(Collection<ClientExecutionInterceptor> executionInterceptorList) -
getReaderInterceptorList
- Specified by:
getReaderInterceptorList
in interfaceClientInterceptorRepository
-
getWriterInterceptorList
- Specified by:
getWriterInterceptorList
in interfaceClientInterceptorRepository
-
getExecutionInterceptorList
- Specified by:
getExecutionInterceptorList
in interfaceClientInterceptorRepository
-
getInterceptors
-
getInterceptors
protected LinkedList getInterceptors(ClientInterceptorRepositoryImpl.InterceptorType interceptorType) -
setData
-
setData
-
copyClientInterceptorsTo
-
prefixClientInterceptorsTo
-
registerInterceptor
- Specified by:
registerInterceptor
in interfaceClientInterceptorRepository
-