public abstract class SimpleBinding extends Binding
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
static String |
QUALITY |
Constructor and Description |
---|
SimpleBinding() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkServiceOperatorKeyTypes(AbstractServiceRequest<?> request) |
protected MediaType |
chooseResponseContentType(AbstractServiceResponse response,
List<MediaType> acceptHeader,
MediaType defaultContentType) |
protected MediaType |
chooseResponseContentTypeForExceptionReport(List<MediaType> acceptHeader,
MediaType defaultContentType) |
protected Object |
encodeOwsExceptionReport(OwsExceptionReport oer,
MediaType contentType) |
protected Object |
encodeResponse(AbstractServiceResponse response,
MediaType contentType) |
protected <F,T> Decoder<F,T> |
getDecoder(DecoderKey key) |
protected abstract MediaType |
getDefaultContentType() |
protected <F,T> Encoder<F,T> |
getEncoder(EncoderKey key) |
protected RequestContext |
getRequestContext(javax.servlet.http.HttpServletRequest req) |
protected ServiceOperator |
getServiceOperator(AbstractServiceRequest<?> request) |
protected ServiceOperator |
getServiceOperator(ServiceOperatorKey sokt) |
protected ServiceOperatorRepository |
getServiceOperatorRepository() |
protected boolean |
hasDecoder(DecoderKey key) |
protected boolean |
hasDecoder(OperationKey key,
MediaType mediaType) |
protected boolean |
hasEncoder(AbstractServiceResponse response,
MediaType mediaType) |
protected boolean |
hasEncoder(EncoderKey key) |
protected boolean |
hasEncoder(OperationKey key,
MediaType mediaType) |
protected boolean |
isServiceSupported(String service) |
protected boolean |
isUseHttpResponseCodes() |
protected boolean |
isVersionSupported(String service,
String acceptVersion) |
protected void |
writeOwsExceptionReport(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
OwsExceptionReport oer) |
protected void |
writeResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AbstractServiceResponse serviceResponse) |
protected void |
writeResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
AbstractServiceResponse serviceResponse,
MediaType contentType)
Deprecated.
|
checkOperationHttpDeleteSupported, checkOperationHttpGetSupported, checkOperationHttpOptionsSupported, checkOperationHttpPostSupported, checkOperationHttpPutSupported, doDeleteOperation, doGetOperation, doOptionsOperation, doPostOperation, doPutOperation, getSupportedEncodings, getUrlPattern
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConformanceClasses
private static final org.slf4j.Logger LOG
public static final String QUALITY
protected boolean isUseHttpResponseCodes()
protected RequestContext getRequestContext(javax.servlet.http.HttpServletRequest req)
protected boolean isServiceSupported(String service)
protected ServiceOperatorRepository getServiceOperatorRepository()
protected <F,T> Decoder<F,T> getDecoder(DecoderKey key)
protected <F,T> Encoder<F,T> getEncoder(EncoderKey key)
protected boolean hasDecoder(DecoderKey key)
protected boolean hasEncoder(EncoderKey key)
protected boolean hasDecoder(OperationKey key, MediaType mediaType)
protected boolean hasEncoder(OperationKey key, MediaType mediaType)
protected boolean hasEncoder(AbstractServiceResponse response, MediaType mediaType)
protected MediaType chooseResponseContentType(AbstractServiceResponse response, List<MediaType> acceptHeader, MediaType defaultContentType) throws HTTPException
HTTPException
protected MediaType chooseResponseContentTypeForExceptionReport(List<MediaType> acceptHeader, MediaType defaultContentType) throws HTTPException
HTTPException
protected ServiceOperator getServiceOperator(ServiceOperatorKey sokt) throws OwsExceptionReport
OwsExceptionReport
protected ServiceOperator getServiceOperator(AbstractServiceRequest<?> request) throws OwsExceptionReport
OwsExceptionReport
protected void checkServiceOperatorKeyTypes(AbstractServiceRequest<?> request) throws OwsExceptionReport
OwsExceptionReport
protected void writeResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AbstractServiceResponse serviceResponse) throws HTTPException, IOException
HTTPException
IOException
protected Object encodeResponse(AbstractServiceResponse response, MediaType contentType) throws OwsExceptionReport
OwsExceptionReport
protected void writeOwsExceptionReport(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, OwsExceptionReport oer) throws HTTPException
HTTPException
protected abstract MediaType getDefaultContentType()
protected Object encodeOwsExceptionReport(OwsExceptionReport oer, MediaType contentType) throws OwsExceptionReport, HTTPException
OwsExceptionReport
HTTPException
@Deprecated protected void writeResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AbstractServiceResponse serviceResponse, MediaType contentType) throws IOException, HTTPException
IOException
HTTPException
Copyright © 2012-2015 52north.org. All Rights Reserved.