ORG.oclc.openurl.contextObjectProcessors
Class AbstractContextObjectProcessor

java.lang.Object
  |
  +--ORG.oclc.openurl.contextObjectProcessors.AbstractContextObjectProcessor
Direct Known Subclasses:
BasicProcessor, NullProcessor

public abstract class AbstractContextObjectProcessor
extends java.lang.Object

Invoke the services embedded in the ContextObject(s)

Author:
Jeffrey A. Young

Constructor Summary
AbstractContextObjectProcessor()
           
 
Method Summary
 byte[] getBytes()
           
 java.lang.String getContentType()
           
 java.lang.String getRedirectURL()
           
 int getStatus()
           
protected  void setBytes(byte[] bytes)
           
protected  void setContentType(java.lang.String contentType)
           
protected  void setRedirectURL(java.lang.String redirectURL)
           
protected  void setStatus(int status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractContextObjectProcessor

public AbstractContextObjectProcessor()
Method Detail

getBytes

public byte[] getBytes()

getContentType

public java.lang.String getContentType()
Returns:
HTTP content-type

getStatus

public int getStatus()
Returns:
HTTP status code

getRedirectURL

public java.lang.String getRedirectURL()
Returns:
redirect URL (null if none)

setBytes

protected void setBytes(byte[] bytes)
Parameters:
bytes - The bytes to set.

setContentType

protected void setContentType(java.lang.String contentType)
Parameters:
contentType - The contentType to set.

setRedirectURL

protected void setRedirectURL(java.lang.String redirectURL)
Parameters:
redirectURL - The redirectURL to set.

setStatus

protected void setStatus(int status)
Parameters:
status - The status to set.