Class MetaDataBuilder


  • public class MetaDataBuilder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MetaDataBuilder​(int maxHeadersSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.jetty.http.MetaData build()  
      protected boolean checkPseudoHeader​(org.eclipse.jetty.http.HttpHeader header, java.lang.Object value)  
      void emit​(org.eclipse.jetty.http.HttpField field)  
      int getMaxSize()
      Get the maxSize.
      int getSize()
      Get the size.
      void setMaxSize​(int maxSize)  
      void streamException​(java.lang.String messageFormat, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _maxSize

        private int _maxSize
      • _size

        private int _size
      • _status

        private java.lang.Integer _status
      • _method

        private java.lang.String _method
      • _scheme

        private org.eclipse.jetty.http.HttpScheme _scheme
      • _authority

        private org.eclipse.jetty.http.HostPortHttpField _authority
      • _path

        private java.lang.String _path
      • _contentLength

        private long _contentLength
      • _fields

        private org.eclipse.jetty.http.HttpFields _fields
      • _request

        private boolean _request
      • _response

        private boolean _response
    • Constructor Detail

      • MetaDataBuilder

        protected MetaDataBuilder​(int maxHeadersSize)
        Parameters:
        maxHeadersSize - The maximum size of the headers, expressed as total name and value characters.
    • Method Detail

      • getMaxSize

        public int getMaxSize()
        Get the maxSize.
        Returns:
        the maxSize
      • setMaxSize

        public void setMaxSize​(int maxSize)
      • getSize

        public int getSize()
        Get the size.
        Returns:
        the current size in bytes
      • streamException

        public void streamException​(java.lang.String messageFormat,
                                    java.lang.Object... args)
      • checkPseudoHeader

        protected boolean checkPseudoHeader​(org.eclipse.jetty.http.HttpHeader header,
                                            java.lang.Object value)