public abstract class AbstractServiceCall extends Object implements ServiceCall
| Constructor and Description |
|---|
AbstractServiceCall() |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getBigIntegerParameter(javax.servlet.http.HttpServletRequest request,
String name)
Extracts an integer parameter.
|
BigInteger |
getBigIntegerParameter(javax.servlet.http.HttpServletRequest request,
String name,
long def)
Extracts an integer parameter (with default).
|
Boolean |
getBooleanParameter(javax.servlet.http.HttpServletRequest request,
String name)
Extracts a boolean parameter.
|
boolean |
getBooleanParameter(javax.servlet.http.HttpServletRequest request,
String name,
boolean def)
Extracts a boolean parameter (with default).
|
DateTimeFormat |
getDateTimeFormatParameter(javax.servlet.http.HttpServletRequest request) |
<T extends Enum<T>> |
getEnumParameter(javax.servlet.http.HttpServletRequest request,
String name,
Class<T> clazz)
Extracts an enum parameter.
|
String |
getStringParameter(javax.servlet.http.HttpServletRequest request,
String name)
Extracts a string parameter.
|
boolean |
sendContentStreamHeaders(ContentStream content,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Sets certain HTTP headers if the server implementation requested them.
|
protected boolean |
stopAfterService(CmisService service)
Determines if the processing should be stopped after the service method
is called.
|
protected boolean |
stopBeforeService(CmisService service)
Determines if the processing should be stopped before the service method
is called.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitservepublic String getStringParameter(javax.servlet.http.HttpServletRequest request, String name)
public boolean getBooleanParameter(javax.servlet.http.HttpServletRequest request,
String name,
boolean def)
public Boolean getBooleanParameter(javax.servlet.http.HttpServletRequest request, String name)
public BigInteger getBigIntegerParameter(javax.servlet.http.HttpServletRequest request, String name, long def)
public BigInteger getBigIntegerParameter(javax.servlet.http.HttpServletRequest request, String name)
public DateTimeFormat getDateTimeFormatParameter(javax.servlet.http.HttpServletRequest request)
public <T extends Enum<T>> T getEnumParameter(javax.servlet.http.HttpServletRequest request, String name, Class<T> clazz)
public boolean sendContentStreamHeaders(ContentStream content, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
true if the request has been served by this method (for
example status code 304 was send), false if the content
should be served.IOExceptionprotected boolean stopBeforeService(CmisService service)
true if the processing should be stopped, false
otherwiseprotected boolean stopAfterService(CmisService service)
true if the processing should be stopped, false
otherwiseCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.