org.jboss.resteasy.plugins.cache.server
Class ServerCacheInterceptor
java.lang.Object
org.jboss.resteasy.plugins.cache.server.ServerCacheInterceptor
- All Implemented Interfaces:
- MessageBodyWriterInterceptor
public class ServerCacheInterceptor
- extends java.lang.Object
- implements MessageBodyWriterInterceptor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected ServerCache cache
request
@Context
protected HttpRequest request
validation
@Context
protected Request validation
ServerCacheInterceptor
public ServerCacheInterceptor(ServerCache cache)
byteArrayToHexString
public static java.lang.String byteArrayToHexString(byte[] bytes)
createHash
protected java.lang.String createHash(byte[] entity)
write
public void write(MessageBodyWriterContext context)
throws java.io.IOException,
WebApplicationException
- Specified by:
write
in interface MessageBodyWriterInterceptor
- Throws:
java.io.IOException
WebApplicationException
Copyright © 2010. All Rights Reserved.