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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContextObjectProcessor
public AbstractContextObjectProcessor()
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.