public class HessianServiceExporter extends HessianExporter implements HttpRequestHandler
Hessian is a slim, binary RPC protocol. For information on Hessian, see the Hessian website. Note: As of Spring 4.0, this exporter requires Hessian 4.0 or above.
Hessian services exported with this class can be accessed by any Hessian client, as there isn't any special handling involved.
HessianClientInterceptor
,
HessianProxyFactoryBean
,
HttpInvokerServiceExporter
,
RmiServiceExporter
CONTENT_TYPE_HESSIAN
logger
Constructor and Description |
---|
HessianServiceExporter() |
Modifier and Type | Method and Description |
---|---|
void |
handleRequest(HttpServletRequest request,
HttpServletResponse response)
Processes the incoming Hessian request and creates a Hessian response.
|
afterPropertiesSet, doInvoke, invoke, prepare, setAllowNonSerializable, setDebug, setRemoteResolver, setSendCollectionType, setSerializerFactory
checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
public void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
handleRequest
in interface HttpRequestHandler
request
- current HTTP requestresponse
- current HTTP responseServletException
- in case of general errorsjava.io.IOException
- in case of I/O errors