org.benow.service.http
Interface ServiceLanguageBinding

All Known Implementing Classes:
JSServiceLanguageBinding, PHPServiceLanguageBinding, TransformingLanguageBinding

public interface ServiceLanguageBinding


Method Summary
 boolean accepts(java.lang.String filename)
           
 void dumpError(javax.servlet.http.HttpServletResponse response, java.lang.String string, java.io.OutputStream out)
           
 void dumpService(org.benow.java.spec.ServiceSpecification spec, javax.servlet.http.HttpServletResponse response, java.io.OutputStream out)
           
 void dumpServiceMethod(org.benow.java.spec.ServiceSpecification sspec, org.benow.java.spec.SecureMethodSpecification mspec, javax.servlet.http.HttpServletResponse response, java.io.OutputStream out)
           
 void dumpType(org.benow.java.spec.argument.ClassSpecification spec, javax.servlet.http.HttpServletResponse response, java.io.OutputStream out)
          Dump the type in the given specification to the output stream.
 java.lang.String getContentType()
           
 

Method Detail

accepts

boolean accepts(java.lang.String filename)

dumpService

void dumpService(org.benow.java.spec.ServiceSpecification spec,
                 javax.servlet.http.HttpServletResponse response,
                 java.io.OutputStream out)
                 throws java.io.IOException
Throws:
java.io.IOException

dumpServiceMethod

void dumpServiceMethod(org.benow.java.spec.ServiceSpecification sspec,
                       org.benow.java.spec.SecureMethodSpecification mspec,
                       javax.servlet.http.HttpServletResponse response,
                       java.io.OutputStream out)
                       throws java.io.IOException
Throws:
java.io.IOException

dumpError

void dumpError(javax.servlet.http.HttpServletResponse response,
               java.lang.String string,
               java.io.OutputStream out)
               throws java.io.IOException
Throws:
java.io.IOException

dumpType

void dumpType(org.benow.java.spec.argument.ClassSpecification spec,
              javax.servlet.http.HttpServletResponse response,
              java.io.OutputStream out)
              throws java.io.IOException
Dump the type in the given specification to the output stream.

Parameters:
spec -
response -
out -
Throws:
java.io.IOException

getContentType

java.lang.String getContentType()