rewrite-impl-servlet 2.0.0.Beta2

org.ocpsoft.rewrite.servlet.impl
Class ResponseContentImpl

java.lang.Object
  extended by org.ocpsoft.rewrite.servlet.impl.ResponseContentImpl
All Implemented Interfaces:
ResponseContent

public class ResponseContentImpl
extends Object
implements ResponseContent

Author:
Lincoln Baxter, III

Constructor Summary
ResponseContentImpl(byte[] contents, Charset charset)
           
 
Method Summary
 Charset getCharset()
           
 byte[] getContents()
           
 void setCharset(Charset charset)
           
 void setContents(byte[] contents)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResponseContentImpl

public ResponseContentImpl(byte[] contents,
                           Charset charset)
Method Detail

getContents

public byte[] getContents()
Specified by:
getContents in interface ResponseContent

setContents

public void setContents(byte[] contents)
Specified by:
setContents in interface ResponseContent

getCharset

public Charset getCharset()
Specified by:
getCharset in interface ResponseContent

setCharset

public void setCharset(Charset charset)
Specified by:
setCharset in interface ResponseContent

toString

public String toString()
Overrides:
toString in class Object

rewrite-impl-servlet 2.0.0.Beta2

Copyright © 2013 OCPsoft. All Rights Reserved.