class: PubManDepositServlet

public class: PubManDepositServlet
Author: Friederike Kleinfercher
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 16.07.2009 15:33:29; Modified: 16.07.2009 15:33:29;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {CFBC7900-11BD-4b97-A0F6-5414155BE692}
DepositServlet for the PubMan SWORD interface.
 

Goto: Custom Properties, Fields, Methods

See also: PubManSwordErrorDocument, PubManSwordServer, SwordUtil

Appears in: sword

Connections
 
Custom Properties
 
PubManDepositServlet Attributes
Attribute Details
private String
  collection
private String
  error
Initial: ""
private PubManSwordErrorDocument
  errorDoc
private Logger
  logger
Initial: Logger.getLogger(PubManDepositServlet.class)
package PubManSwordServer
  pubMan
private static const long
  serialVersionUID
Initial: 1L
 
PubManDepositServlet Methods
Operation Details
protected
doGet(
   HttpServletRequest request,
   HttpServletResponse response):void
Sequential
Tags: throws=ServletException,IOException
Notes: Process the GET request. This will return an unimplemented response.
protected
doPost(
   HttpServletRequest request,
   HttpServletResponse response):void
Sequential
Tags: throws=ServletException,IOException
Notes: Process a POST request.
@param HttpServletRequest
@param HttpServletResponse
protected
doPut(
   HttpServletRequest request,
   HttpServletResponse response):void
Sequential
Tags: throws=ServletException,IOException
Notes: Process the PUT request.
@param HttpServletRequest
@param HttpServletResponse
public
getError():String
Sequential
public
getErrorDoc():PubManSwordErrorDocument
Sequential
public
getPubMan():PubManSwordServer
Sequential
private
getUsernamePassword(
   HttpServletRequest request):String
Sequential
Notes: Utiliy method to return the username and password (separated by a colon ':')
@return The username and password combination
public
setError(
   String error):void
Sequential
public
setErrorDoc(
   PubManSwordErrorDocument errorDoc):void
Sequential
public
setPubMan(
   PubManSwordServer pubMan):void
Sequential