public class ClientInterceptorRepositoryImpl extends java.lang.Object implements ClientInterceptorRepository
Modifier and Type | Class and Description |
---|---|
private static class |
ClientInterceptorRepositoryImpl.InterceptorType |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ClientInterceptorRepositoryImpl.InterceptorType,java.util.LinkedList<?>> |
interceptorLists |
Constructor and Description |
---|
ClientInterceptorRepositoryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
copyClientInterceptorsTo(ClientInterceptorRepositoryImpl copyTo) |
private <T> T[] |
getArray(java.lang.Class<T> type) |
java.util.LinkedList<ClientExecutionInterceptor> |
getExecutionInterceptorList() |
protected ClientExecutionInterceptor[] |
getExecutionInterceptors() |
protected <T> java.util.LinkedList<T> |
getInterceptors(java.lang.Class<T> clazz) |
protected java.util.LinkedList |
getInterceptors(ClientInterceptorRepositoryImpl.InterceptorType interceptorType) |
java.util.LinkedList<javax.ws.rs.ext.ReaderInterceptor> |
getReaderInterceptorList() |
protected javax.ws.rs.ext.ReaderInterceptor[] |
getReaderInterceptors() |
java.util.LinkedList<javax.ws.rs.ext.WriterInterceptor> |
getWriterInterceptorList() |
protected javax.ws.rs.ext.WriterInterceptor[] |
getWriterInterceptors() |
void |
prefixClientInterceptorsTo(ClientInterceptorRepositoryImpl copyTo) |
void |
registerInterceptor(java.lang.Object interceptor) |
private void |
setData(ClientInterceptorRepositoryImpl.InterceptorType type,
java.util.Collection newList) |
private void |
setData(ClientInterceptorRepositoryImpl.InterceptorType type,
java.lang.Object[] arr) |
protected void |
setExecutionInterceptors(ClientExecutionInterceptor[] executionInterceptors) |
protected void |
setExecutionInterceptors(java.util.Collection<ClientExecutionInterceptor> executionInterceptorList) |
protected void |
setReaderInterceptors(javax.ws.rs.ext.ReaderInterceptor[] readerInterceptors) |
protected void |
setWriterInterceptors(javax.ws.rs.ext.WriterInterceptor[] writerInterceptors) |
private java.util.Map<ClientInterceptorRepositoryImpl.InterceptorType,java.util.LinkedList<?>> interceptorLists
protected javax.ws.rs.ext.ReaderInterceptor[] getReaderInterceptors()
protected javax.ws.rs.ext.WriterInterceptor[] getWriterInterceptors()
protected ClientExecutionInterceptor[] getExecutionInterceptors()
private <T> T[] getArray(java.lang.Class<T> type)
protected void setReaderInterceptors(javax.ws.rs.ext.ReaderInterceptor[] readerInterceptors)
protected void setWriterInterceptors(javax.ws.rs.ext.WriterInterceptor[] writerInterceptors)
protected void setExecutionInterceptors(ClientExecutionInterceptor[] executionInterceptors)
protected void setExecutionInterceptors(java.util.Collection<ClientExecutionInterceptor> executionInterceptorList)
public java.util.LinkedList<javax.ws.rs.ext.ReaderInterceptor> getReaderInterceptorList()
getReaderInterceptorList
in interface ClientInterceptorRepository
public java.util.LinkedList<javax.ws.rs.ext.WriterInterceptor> getWriterInterceptorList()
getWriterInterceptorList
in interface ClientInterceptorRepository
public java.util.LinkedList<ClientExecutionInterceptor> getExecutionInterceptorList()
getExecutionInterceptorList
in interface ClientInterceptorRepository
protected <T> java.util.LinkedList<T> getInterceptors(java.lang.Class<T> clazz)
protected java.util.LinkedList getInterceptors(ClientInterceptorRepositoryImpl.InterceptorType interceptorType)
private void setData(ClientInterceptorRepositoryImpl.InterceptorType type, java.lang.Object[] arr)
private void setData(ClientInterceptorRepositoryImpl.InterceptorType type, java.util.Collection newList)
public void copyClientInterceptorsTo(ClientInterceptorRepositoryImpl copyTo)
public void prefixClientInterceptorsTo(ClientInterceptorRepositoryImpl copyTo)
public void registerInterceptor(java.lang.Object interceptor)
registerInterceptor
in interface ClientInterceptorRepository